I made a client server program to send an image from the server to the client. The image is being sent being but its not showing up in client window immediately. If i click send on the server then i minimize (or maximize) the client window then open again the image will show up. But if i just click send and dont do anything to the client window nothing shows up until i resize it in some way. I'm not sure why its not just showing up in the client window. Any help would be really appreciated. thanks Server Code …

Member Avatar
Member Avatar
+0 forum 4

Two third party Python modules imageio and visvis make it easy to load and view images. The modules come with the pyzo scientific package or can be downloaded separately. Module imageio can read many image file formats as shown in http://imageio.readthedocs.org/en/latest/formats.html You could also replace your image file name directly with a URL containing an image, for example image_file = "Lake2.jpg" could be changed to image_file = "http://i.imgur.com/3MnBqHh.jpg" and your picture would simply come from the internet.

Member Avatar
Member Avatar
+4 forum 2

Hello everyone. 1)I am trying several days now to display an image from file Chooser in Netbeans. i have read and tried many different approaches from the web, but something goes wrong.Although the program runs ok,I see no results.Until now, I have used the "Design" tab of Netbeans to create one main Jframe and three Panels. Panel1 for image preview(of course I will implement it much later) Panel2 for buttons like "Add pic","remove" etc.The Add button opens my file Chooser.Now I am trying to load an image from the file Chooser inside Panel3 and of course fit it correctly according …

Member Avatar
Member Avatar
+0 forum 17

I've got a game, and I'm trying to do it right. I've got a spritesheet (which is really just a class that loads images for easy access. It seems to work, but then my tile system starts, and it fails in an interesting way - it loads only the foreground, and displays only that color for all 1024 pixels for each tile. I've no idea what could possibly be going wrong. I've tried using the ImageIO class's read method, and a more unorthodox way (using an ImageIcon's getImage method). The source is attached below in a zip. Thanks, Jack

Member Avatar
Member Avatar
+0 forum 4

The End.