A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
Kia Phia Ben
Joined: Dec 16, 2005
May 03, 2007 03:23:00
I have problem when I writing my program.
I have two
: A.jpeg and B.jpeg. I do not know what image which have quality highter than other image?
Please tell me how to know quanlity of image with
Thank for help me.
Jesper de Jong
Joined: Aug 16, 2005
May 04, 2007 01:01:00
I typed in "java jpeg quality" in Google and got a whole list of answers in a fraction of a second. This one looks useful:
The Java Developers Almanac - Compressing a JPEG File
It shows how you can set the compression quality when writing a JPEG with the Java
Java Beginners FAQ
JavaRanch SCJP FAQ
The Java Tutorial
Java SE 8 API documentation
Joined: Mar 22, 2005
May 04, 2007 01:48:00
What does or does not constitute high quality is of course a subjective notion.
Assuming that both images are of the same pixel size, and are in fact the very same image, then it is pretty safe to assume that the one that is larger in byte size has a higher quality.
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: Quality image
ImageIO.write(...) significantly reduces quality of image...
Uploading an image and resizing it and saving it to disk.
image enhancement / smoothing
Can you please give me details how to improve the picture quality and resolution in j
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015