It's not a secret anymore!*
The moose likes Swing / AWT / SWT and the fly likes Images Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Images" Watch "Images" New topic
Author

Images

P Jain
Ranch Hand

Joined: Jul 31, 2004
Posts: 52
I am working on Cell Phone,I am getting Phone Screen image but in PPM (Portable Pixmaps) format, then I am converting it into JPG then resizing it into smaller size and then try to set it as a ImageIcon,so that each time whenever screen of Phone changes that ImageIcon on the Label also gets change.
But the method I am apply taking so much time,is there any method in which I will take less time.

Is there any method by which I can save bitmaps into jpgs and specific size,instead of first saving as PPM then converting them into JPG then resizing them.


Regards<br />P Jain
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Images
 
Similar Threads
Images
Images for ImageIcon.
Why did it have to be PNG
Image PPM - JPG
Working with Image Icon