WMW
  NEWS     ABOUT     PARTNERS     CONTACT  
  HELP
WATERMARKING
  • Biography
  • FAQ
MAILINGLIST
  • Management
  • Archive
CONFERENCES
  • Calls
BENCHMARKING
  • Stirmark
  • CheckMark
  • Optimark
BOOKS
LINKS
  • Companies
  • Research
  • Others
WEBRING
DISCLAIMER

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

[WM]: Lossless JPEG Image Encoding in Java



greetings everybody

I want to know that if there is any way that i can have a lossless jpeg image created with any of the java classes or Java Advance
Imaging package.
I've tried ImageOutputStream, JPEGImageWriteParam but they compress the data.

I'm doing a watermarking project all i have is a set of values of R, G, B, = A component of the image in a double type array.

Now after some manipulation of these values i want to consturct the jpg image from these R, G, B, A values.

The problem is... My test image is of size 4.76 KB and dimension 100x100.

After the conversion the size is srunk to 2.99 KB with the same dimensions (of course i cannot try other dimension).The images look
same, but i loose the information that i embedded.

My test image is of 100x100, so the total pixels are 10,000. For each pixel I get 4 components indivisually by usng pixelgrabber
class (slowww). So there are 40,000 values for both the images

The problem is not with the method. If i encode again the same color values without modification for watermarking i still get
compressed image.

All the embedding that i ve done is lost because of this loss of informatio= n beyond my control.

I need to save the image again in jpg format, so cannot try png or bmp formats either.

Here's what i need

Any java class, method or library or tip that makes it possible to save the image without the loss of information in jpg format.

Programming is no issue, but if any one has any idea then please share it

Thank you
Imran Khan



______________________________________________________________________________

Watermarking Mailing List - http://www.watermarkingworld.org/ml.html
To unsubscribe send email to "majordomo@watermarkingworld.org" with
"unsubscribe watermarking YOURMAIL" in the body.
______________________________________________________________________________




© 2000-2002 by WatermarkingWorld
Design and Concept by Martin Kutter