Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to get the package : com.sun.image.codec.jpeg.*;

 
Tom John
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
now ,i want to make a chart to jpeg , but i don't know where can i find : com.sun.image.codec.jpeg.*
is it the free package ?
and how can i get the package ?
 
Roy Ben Ami
Ranch Hand
Posts: 732
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You dont need it if you just want to save a JPG file.
Use the new IO with jdk 1.4 in package java.nio .
Look for the ImageIO class.
 
I promise I will be the best, most loyal friend ever! All for this tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!