[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: package sun.awt.image.codec does not exist



http://stackoverflow.com/questions/1906673/import-com-sun-image-codec-jpeg

Sounds like your code is buggy, apparently com.sun.* are not supposed
to be used:

http://www.oracle.com/technetwork/java/faq-sun-packages-142232.html
http://download.oracle.com/javase/1.4.2/docs/guide/2d/api-jpeg/com/sun/image/codec/jpeg/JPEGImageEncoder.html

Apparently ImageIO is the way to go:

http://download.oracle.com/javase/tutorial/2d/images/saveimage.html

-- 
bye,
pabs

http://wiki.debian.org/PaulWise


Reply to: