59 Topics
|
|
Hello, I am learning Tkinter. As a part of the learning process I am building a Notepad clone in order to become familiar with Tkinter widgets. I am pretty close to completing it - I added about 90% functionality to the application - but I face two problems: 1) The … |
|
This is the first in (hopefully) a series of posts about vbScript. Please see my post [vbScript - The Basics](https://www.daniweb.com/programming/threads/516400/vbscript-the-basics) for more details on vbScript. My wife and I take a lot of pictures. Naturally, we end up sending pictures to friends through email. I find it is unnecessary, and … |
|
hi guys. is there a plugin or jquery ui that i missed that would allow a user to resize width or height of image/element and rotate image/element? resize something other than .resizable() . i found [this](http://www.ajaxblender.com/howto-rotate-image-using-javascript-canvas.html) for rotation it uses canvad tag and DXImageTransform.Microsoft.BasicImage. is there any other? TIA! |
|
Hi, I need to implement list based on dynamic arrays (second task is to implement as double linked list). Both tasks are done, but I have problem with time limit on test platform when values are millionths. I suppose that resizing dynamic array is delaying so much. I have implemented … |
|
I've been trying to resize my jbuttons to the size of my pictures, but the jbuttons keep on occupying the whole frame. The size of the photos are 150x267. import javax.swing.*; import java.awt.event.KeyListener; import java.awt.*; import java.awt.event.KeyEvent; import java.util.Timer; import java.util.TimerTask; public class StartGame extends JFrame implements KeyListener { Timer … |
|
Hi, How can I automatically resize the height of an iframe such that it takes the height of an external website without showing the scrollbars. Thanks in advance |
|
Hello Community, I was wondering if there is a way to get only the visible section of the image from picturebox1 and place it in picturebox2. So what I have is picturebox1 set to a certain size, and the image size mode is set to center. Picturebox2 is also set … |
|
Hello Programmers! I am working on a 'comics' page of my website. It is going to have multiple pictures (arranged neatly in a table) for the viewer to see and enjoy. I would like to have the images (by default) have a width of 10% of the browser window's width … |
|
Hello programmers! I am a beginner in html using the w3 school website help as a guide. Currently, I am working on an excercise website. The code is as following: <!DOCTYPE html> <html> <title><head> ------- Website </head></title> <body bgcolor= #FFCCFF BACKGROUND="background.gif"> <h1> What This Site Is All About: </h1> <hr … |
|
I have no knowladge of partition managment but I download a software named partition star to help me. Does anyone have any other suggestion for me? I mean , another software |
|
Using NetBeans 7.3.1 i have created a JFrame. A JLabel fills the bottom of the JFrame . The JLabel displays an ImageIcon. I want the ImageIcon automatically resize itself when JLabel resizes. Generated Code from IDE : jLabel1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Number_theory/resources/primes_ulam_spiral.gif"))); // NOI18N jLabel1.setDoubleBuffered(true); jLabel1.setOpaque(true); jLabel1.addComponentListener(new java.awt.event.ComponentAdapter() { public void componentResized(java.awt.event.ComponentEvent … |
|
Hi there, I'm trying to alter the below iFrame code (which places a music player on my website) so that it resizes according to what screen people view it on. My website is fully responsive, and the div that I'm wanting to put it in changes width depending on what … |
|
Hi all, I'm currently using imagemagick to resize gifs for my site. But the compression doesn't seem really good. I've already tried optimizing it the best way I could, but it isn't satisfactory. Does anyone have recommendations for a better option? Tumblr's gif compression seems to be the best I've … |
|
I have this code: <html> <head> <title> Psycho Site - About Us </title> <style> /* container */ div.container { width: 1574px; } /* end container */ /* header */ div.header { background-color: #DDA500; } h1.header_h1 { margin-bottom: 0; font-size: 65; } /* end header*/ /* menu */ div.menu { background-color: … |
|
I am trying to automatically resize the iframe to fit the content. Works great in chrome, firefox and opera. Fails in Internet Explorer. Ideas? <html xmlns="http://www.w3.org/1999/xhtml"><head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Leontinas</title> <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript"> var framefenster = document.getElementsByTagName("iFrame"); var auto_resize_timer = window.setInterval("autoresize_frames()", 20); function autoresize_frames() { for … |
|
Hi all , I have googled for an answer for this question but most of them are so complicated. Can anyone suggest a simple article on this topic or show me step by step how to solve this. I want to upload an image to a folder and show this … |
|
I was struggling long for proper image resize function for maintaining image ratio. Finally i end end up with merging and changing all codes and it works ! function resizeImage($sourceFile,$destFile,$width,$height) sourceFile => Full path along with filename destinationFile => Full path along with filename I hope this will help coders.. |
|
Hello friends, I have a background image in body. What i want to achive is that 1)- calculate the visitor screen resolution. 2)- based on that resolution i want to resize my background image. Can anyone help? Looking for quick response. Thanks and regards navi |
|
Hi have a problem with css my code is this: #menu-wrapper { position:absolute; top:0; height: 34px; width: 100%; background-color: #E95D22; margin: auto; } Normally it looks like this which is what i want http://picturepush.com/public/10127434 But when i resize the browser it looks like this but i want it to keep … |
|
Hi, i am developing a website but got stuck. I got couple of queries , I would appreciate if anyone can help me out. 1. is it possible to re-size image ( e.g on facebook thumbnail picture ) without loosing quality using php code. 2. If not is there third … |
|
Hi I tried to resize image with file name ._DYK_RTH134_1000.jpg. I got the following errors Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg: JPEG library reports unrecoverable error. If I am using image with name like DYK_RTH134_1000.jpg then its working fine. Some of my filename have special characters. like . ( ' etc. Could … |
|
I have a Winforms application that I want the end-user to be able to select a radio button to determine the browser they will use(ie, firefox, chrome, opera, etc...) to perform a set of predefined queries. The problem is I want to scale the web-browser to be 800x600 no matter … |
|
Hello, I currently have a script that Uploads an image, resizes and saves successfully. I am having trubble understanding how I would rename the uploaded image according to the other image names in the directory. For example there are 3 images in the directory (Image1.png, Image2.gif and Image3.jpg) How would … |
|
Hello, I'm trying to make a JPanel with JFrame capabilities, such as resizing, and moving, Everything seems to work fine, altough there are minor flickering inside the JPanel, I have numeral repaints and I have a method called update(), which uses absolute position to arrange Containers and Components. Whenever the … |
|
[CODE]//Header file for Array.cpp. #ifndef ARRAY_H #define ARRAY_H template<class Datatype> class Array { private: //Template for use with the Array's data type. //Member Variables. int size; int grow_size; int num_elements; Datatype* m_array; public: //Constructor. Array( int p_size) { m_array = new Datatype[p_size]; size = p_size; } //Destructor. ~Array() { if( … |
|
I'm trying to get my JPanel (JFrame?) to resize itself to fit randomly drawn shapes. I have a shape superclass and right now I'm working with my line subclass. Everything is working fine except I can't figure out how to make the shapes fit the size of the JPanel. Should … |
|
My methods dont seem to be working for example void Resize doeznt do anything. AM i using it in the wrong way oris the method faulty. [CODE]//Header file for Array.cpp. #ifndef ARRAY_H #define ARRAY_H template<class Datatype> class Array { private: //Template for use with the Array's data type. //Member Variables. … |
|
Hello everyone, I am currently working on a website for a literary journal that I work for called The Broome Street Review. Currently, we use Wix for the website, but we would like to move away from that and design ourselves. I have been teaching myself HTML and CSS and … |
|
Hello, I've coded an image resizing function. It works very well for most image types but I've found that there seems to be a problem with progressive jpeg. If I resize my image for a thumbnail size, 50 px of width the result is only a small black square. I've … |
|
Hi, we all know how to dock or anchor controls so that they resize themselves accordingly when a form is resized. It works fine till we have rows of controls on left and right size of the form. But what if have three columns (Columns as in visual sense. I'm … |
The End.