Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Java Swing
i have an
Icon image = picture.getIcon();
in my code and now i want to store this icon to somewhere in my disk as .jpg
Posted 8-Oct-12 3:24am
Edited 8-Oct-12 5:02am
v2

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

SO you're not able to use the other answer[^]?
 
Try this little helper:
javax.imageio.ImageIO[^]
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 959
1 Sergey Alexandrovich Kryukov 886
2 Kornfeld Eliyahu Peter 575
3 Peter Leow 558
4 ProgramFOX 345


Advertise | Privacy | Mobile
Web04 | 2.8.150302.1 | Last Updated 8 Oct 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100