what i need is to load these photos , resize them and display them in JLabel using JLabel(new ImageIcon())
i tried all solutions you suggested in this post without luck ! i also tried using jimi and imagero (imgero a robust commercial java imaging library) to load the photos ; but nothing worked !! there is something strange with these photos ! i don't know what is it. i even don't get any debug info eventhough i added many debug lines to see if i reach the code for loading image and resizing.. this is a mystery i need to figure out . do you have any idea how i can read these photos , resize them into small thumbnails and display them inside a JLabel ?
i would appreciate a lot any help . [ June 11, 2008: Message edited by: omar Bakr ]
Ok i solved the problem guys ! it doesn't have anything to do with resizing or loading the images. i only had to make sure my image file ends with (.jpg) (the images extension were .JPG in capital) so they were not detected by my image filter. i turned image file name to lowercase and checked the extension and that's it ! all works fine ! thank you all