File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Images" Watch "Images" New topic


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
I agree. Here's the link:
subject: Images
It's not a secret anymore!