Com Sun Image Codec Jpeg Jpeg Codec Jar Maker

This page shows details for the Java class JPEGCodec contained in the package com.sun.image. Gratis Tomtom Europa Kaart En. codec.jpeg. All JAR files. Gnu org.apache.http.Header com.sun.java. Home » apache-harmony-6.0-src-r917296-snapshot » com.sun.image.codec.jpeg ». 25 26 class JPEGImageEncoderImpl implements JPEGImageEncoder.

I'm creating an image watermarking program in java and I imported the followings: import com.sun.image.codec.jpeg.JPEGCodec; import com.sun.image.codec.jpeg.JPEGEncodeParam; import com.sun.image.codec.jpeg.JPEGImageEncoder; but I get an error that says: Access restriction: The type JPEGCodec is not accesible due to restriction on required library C: Program Files Java jre6 lib rt.jar Does someone know a way to solve this, or what library should I add in order to access that and where I find that library? The problem is, that you're importing libraries from the sun.com.* package. The use of these packages, since they could be removed in future releases or may not be available in all JVM implementations. It's possible that your IDE (which one are you using?) is configured for generating errors if you try to import sun.com.* libraries, in that case a configuration change will allow you to use those libraries, but it wouldn't be a good idea anyway. You should look for other alternatives to the functionality you seek, using libraries with no access restrictions. Also, if what you want is to simply read or write a JPEG file, take a look at the class, there are plenty of useful methods in there.

Codec Jpeg