Help - Search - Members - Calendar
Full Version: jpeg
Hydrogenaudio Forums > Misc. > Off-Topic
kotrtim
Are there any free good JPEG encoder
The JPEG encoder in ACDSee is really pinkish and dull.
Is JPEG like mp3, different encoder with diffferent qualities?

In tiff image, there's an option to compress it in JPEG compression, I like that one
Its compression quality is the best compared to ACDsee, Windows Paint, MGI photo suite.
but I've tried to change the xtention from .tif to .jpg
It won't work, no browser can open that tiff jpeg.


Encoder + settings
ACDSee JPEG q82
Tiff JPEG



I've uploaded the picture samples (picture.zip) (85 kb) here

http://kotrtim.tripod.com/pictures.htm


Thanks
rjamorim
QUOTE(kotrtim @ May 17 2003 - 12:56 AM)
Is JPEG like mp3, different encoder with diffferent qualities?

Yes. Probably the best is from Pegasus (www.jpg.com), but I never saw any kind of comparision test. It's just that they have lots of fame.

QUOTE
The JPEG encoder in ACDSee is really pinkish and dull.


The encoder in ACDsee is based on the Intel JPEG library. It's known for being extremely fast, not highest quality.

QUOTE
In tiff image, there's an option to compress it in JPEG compression, I like  that one


The TIFF compressor probably uses the Adobe JPEG library (it's the one in the TIFF SDK), so you would probably get the same quality using PhotoShop.

QUOTE
but I've tried to change the xtention from .tif to .jpg
It won't work, no browser can open that tiff jpeg.


Right, because it's a JPEG inside a TIFF. It's like an MP3 inside an AVI, you won't be able to open it with Foobar. You would have to unwrap first.

Regards;

Roberto.
Andavari
The freeware IrfanView http://www.irfanview.com/ can save JPEG images based on your own quality settings that MS Paint and web browsers can view. However, there are some image viewers/editors that cannot open IrfanView saved JPEG images.
kotrtim
Irfanview JPEG

Is this the best encoder?

Thanks


Edit 1 : Thanks roberto for informing me about Adobe.

Adobe photoshop -q 10 (10kb) beats intel q 82 (ACD) (13kb) even beats tiffs jpeg (13 kb)

My first conclution is
Adobe = LAME
Intel = Xing
smile.gif

-----------------------------------------------------------------------------------------------------

Edit 2 : Andarvi, IrfanView JPEG is similar to ACD's, dull + pinkish, Adobe is still the best
installing JP2 plugin, can't wait to test it!
userXYZ
JPEG2000 is really good, but most applications won't be able to open these files.
rjamorim
QUOTE(kotrtim @ May 17 2003 - 03:31 AM)
My first conclution is
Adobe = LAME
Intel = Xing

hehe. It's not that extreme, but yeah, Adobe rocks. Always. wink.gif

IrfanView is shit. The developer uses aspack to "protect" his program, for that reason alone he should be flamed to death.

I hacked that $#%$@! protection (heh), and found strings that lead me to believe it's using either Intel or IJG. Not good.

(sorry if I got kinda ballistic, exe crypting always reminds me of trojans and Astrid AAC <shudder>)
kotrtim
QUOTE(userXYZ @ May 16 2003 - 11:33 PM)
JPEG2000 is really good, but most applications won't be able to open these files.

Like what Roberto said SHIT
the JP2 compression is 10x worst than nomal JPEG
jp2 lossless 2x larger file than PNG
A total crap, at least the one in InfraView

But I like the PNG config. in IfraView, its compression slightly better than ACDSee PNG
userXYZ
QUOTE(kotrtim @ May 17 2003 - 09:18 AM)
QUOTE(userXYZ @ May 16 2003 - 11:33 PM)
JPEG2000 is really good, but most applications won't be able to open these files.

Like what Roberto said SHIT
the JP2 compression is 10x worst than nomal JPEG
jp2 lossless 2x larger file than PNG
A total crap, at least the one in InfraView

But I like the PNG config. in IfraView, its compression slightly better than ACDSee PNG

Is it really shit? I used it one or two times in the past and from what I remembered it was good but useless because it couldn't be opened by most applications. Why don't you just use PNG? The PNG-Compression of The Gimp is said to be very good! But forget the PNG-Compression in Photoshop!

Edited some typos
rjamorim
QUOTE(kotrtim @ May 17 2003 - 05:18 AM)
Like what Roberto said SHIT
the JP2 compression is 10x worst than nomal JPEG
jp2 lossless 2x larger file than PNG
A total crap, at least the one in InfraView

Hrm... that's kinda tricky.

I just decrypted and checked the JPEG2000 plugin (holy damn, that freak encrypts everything!), and it's clearly displayed that the Jpeg2000 SDK vendor is LuraTech, that is a well-known vendor of graphical solutions.

My only guess id that they are offering a crippled "free" version with IrfanView, since they are selling commercial versions of this and other plugins at their site.

But you are true to some extent. JPEG2000 vs. JPEG is kinda like MP3pro vs. MP3. JPEG2000 performs well where JPEG starts failing, at very big compression levels, but as the compressed files get bigger, it's tendency is to perform even worse than standard JPEG.

Regards;

Roberto.
kotrtim
Intel JPEG is never transparent even at quality 100

Original bmp = 93.8 kb

Intel JPEG q 100 = 29.9 kb (not pinkish anymore but very very very...... dull)

Adobe JPEG -q 10 progrssive scan 5 = 24.28 kb (transparent)


For me,
Adobe -q 6 or -q 7 is equal to Intel's -q 100

Adobe -q 6 = 14.25 kb

Adobe -q 7 = 14.79 kb

Its more like personal taste, non of them is transparent
Its like LAME vs FhG 128 kbps
I prefered Adobe's -q 7 over Intel's -q 100

Is JP2 in InfranView a good one? or are there any good, shareware is also ok coz
I'm curiouss about jp2

WMF, anyone knows how to encode .bmp to .wmf
thanks.
fragtal
QUOTE(kotrtim @ May 17 2003 - 10:18 AM)
QUOTE(userXYZ @ May 16 2003 - 11:33 PM)
JPEG2000 is really good, but most applications won't be able to open these files.

Like what Roberto said SHIT
the JP2 compression is 10x worst than nomal JPEG
jp2 lossless 2x larger file than PNG
A total crap, at least the one in InfraView

But I like the PNG config. in IfraView, its compression slightly better than ACDSee PNG

One or two months ago there has already been the same type of discussion:

PNG vs GIF/JPG, (any freeware converters around?)

This is what floyd wrote:
QUOTE
I just did a small test, slightly OT, but interesting for image compression. 60 1024x768 TGA images (screenshots from a 3d game) compressed to different formats:

TGA originals: 138mb
PNG q=9: 53mb
JPG q=100: 25mb
JPEG2000 lossless: 43mb
JPEG2000 q=95 (default): 4mb !!
JPEG2000 q=100 : 21mb

Quality: jpg is noticeably different from the original sitting a reasonable distance from the display. Blurs certain objects, and seemingly the colour red more often than others.

jp2 at q=95 is not noticeably different unless you either zoom or move very close to the display, where you notice everything is very slightly blurred/altered.

jp2 at q=100 I couldn't tell the difference even at close distance, and eyestrain made me quit trying. I would say virtually lossless, at least on the pics I tried. The filesize difference between q=95 and q=100 is very strange though... I would use q=95 or even lower myself as the artifacts aren't ugly like jpg produces and the filesizes are great.

As for speed jpg and png are extremely fast to encode, whereas jp2 lossless is very, very slow to encode and jp2 lossy is somewhere inbetween.

Overall jp2 is very impressive. Hopefully it gets natively supported by browsers sometime soon. (though I easily grabbed a Mozilla plugin) The lossless mode doesn't seem much better than the blazing fast, and free png, but jp2 lossy is a big leap from jpg.
kotrtim
Lossless image encoding
24-bit test

QUOTE
bliss.bmp           1,407
rar                     381
ace                    461
png                   485
sit                     544
7zip                  584


sit is out

QUOTE
original bmp        3,601
png                     895
rar                      942
7zip                    991
ace                    1,077


Again, ace is out

QUOTE
original bmp        2,305
rar                      673
7zip                    789
png                     799



256 color/ 8-bit grey test

QUOTE
original              470
ace                    176
rar                     200
7zip                   219
png                   263



24-bit, grey, captured text doc. as bmp (rarely occupied)

QUOTE
original            1,409
rar                      41
7zip                    55
png                    99


I didn't test JP2 coz I do not have the encoder to encode lossless JP2 for 640x480
EDIT: JP2 is the best lossless and rar is 2nd

ANYONE IS GOING TO MAKE A .ri, .rg maybe (rar imge/rar graphics)
support for softwares etc.

ATTENTION
for best rar compression

Colored 24-bit
Force Text Compression
Disable Audio Compression
Force True Color Compression

grayscale 8-bit/24-bit
Force Text Compression
Auto Audio Compression
Disable True Color Compression

I'M LAZY NOW
NEXT WEEK, I'LL TEST WILL BE 16-bit color and 8-bit color image
kotrtim
QUOTE(fragtal @ May 17 2003 - 01:55 AM)
One or two months ago there has already been the same type of discussion

That one is asking for converters
But know I'm asking for high quality JPEG encoder biggrin.gif
DonP
Since you said free I would suggest GIMP (Gnu Image Manipulation Program). Its more of an editor (similar to Photoshop) than just a converter, but you may be able to script it to just convert withoug messing in the GUI.


www.gimp.org
fragtal
QUOTE(kotrtim @ May 17 2003 - 01:31 PM)
QUOTE(fragtal @ May 17 2003 - 01:55 AM)
One or two months ago there has already been the same type of discussion

That one is asking for converters
But know I'm asking for high quality JPEG encoder biggrin.gif

You claimed that png was better than jp2 and this is some kind of what-is-the-best-gfx-codec-discussion.
Oge_user
I think that JPEG 2000 is very good:

user posted image

user posted image

Yes, it's slower than normal JPEG but the result seems better.. wink.gif
LocustFurnace
give the program LviewPro a try.
it does Progessive Compression, Entropy optimization , if it helps.
been using it for 6 years or so. seems to compress tighter then others and still has a good look to pics.
im using an old version, nothing to fancy, just prefer it.
ErikS
QUOTE(Oge_user @ May 18 2003 - 04:03 PM)
I think that JPEG 2000 is very good:
[snip]
Yes, it's slower than normal JPEG but the result seems better..  wink.gif

Funny comparison... Would you belive me when I say that wma is metter than mpc, and show you a bunch of transcoded mp3 @ 128 kbit/s where one is wav->mp3, another is wma@160->mp3, the third is wma@64->mp3 and the last mpc@64->mp3? At least I wouldn't draw any conclusion about mpc's performance at high bitrates from such a test... (And it's at low compression ratios people say old Jpeg is better than Jpeg2000... Nobody here questioned Jpeg2000 at high ratios.)
Canar
QUOTE(ErikS @ May 18 2003 - 08:18 AM)
(And it's at low compression ratios people say old Jpeg is better than Jpeg2000... Nobody here questioned Jpeg2000 at high ratios.)

I disagree. I can see the block artifacting in JPEG very easily, even at high bitrates. JPEG2000 doesn't do this, and thus I find it much more tolerable. I'm not sure whether or not JP2 reduces the size of the (probably Chrominance, I forget JPEG colour spacing) channels by 3/4, but I find this really annoying in JPEG. From the looks of things, it doesn't do this as much/at all.
Canar
QUOTE(kotrtim @ May 17 2003 - 01:42 AM)
WMF, anyone knows how to encode .bmp to .wmf
thanks.

Impossible. .WMF is a vector format, .BMP is a raster format. Vector can be converted to raster, but not vice versa with any level of accuracy.
kotrtim
Oge_user
I've tried the jp2 of IrfanView
Its so terrible at 5 kb
I don't know how you make you pic. so clear

Only quality 99 is transparent for me
OK, JP2 is better than JPG in comp. ratio
But what blocking artifacts, Adobe JPEG is transparent for me at quality10

[EDIT]
Use a killer sample, Winamp2 default skin is good enough to kill all JPEG encoders, accept Adobe smile.gif The "green fonts" in winamp skin is so difficult to encode and you will never get a transparent file with Intel JPEG 100% quality.

Now I have only 2 JPEG lib. one from Intel and one from Adobe, are there any other lib. besides these?
Canar
QUOTE(kotrtim @ May 18 2003 - 10:35 PM)
But what blocking artifacts, Adobe JPEG is transparent for me at quality10

You don't have a large enough sample set. When dealing with anything with a "pure" background, blocking artifacts become very apparent. As you seem to have found out with the Winamp2 skin.
rjamorim
QUOTE(kotrtim @ May 19 2003 - 03:35 AM)
Now I have only 2 JPEG lib. one from Intel and one from Adobe, are there any other lib. besides these?

There's IJG, the one used on Gimp and most open source software.
ErikS
QUOTE(Canar @ May 18 2003 - 08:49 PM)
I disagree. I can see the block artifacting in JPEG very easily, even at high bitrates. JPEG2000 doesn't do this, and thus I find it much more tolerable. I'm not sure whether or not JP2 reduces the size of the (probably Chrominance, I forget JPEG colour spacing) channels by 3/4, but I find this really annoying in JPEG. From the looks of things, it doesn't do this as much/at all.

So what ratios are you talking about here? I must say I can't see any blocking effects in these two pictures below here. Sure, I can see some ringing and some colorations, but no blocks. And thats by the crappy hardware jpeg compressor in my cheap digicam. Can you see any blocks? (I tried to take pictures with a lot of clear sky and other low gradient areas...)

I confess to not beeing a vidofile - are you? (Btw, what's the corresponding word for audiofile when it comes to pictures and video?)


Oops, forgot the pictures smile.gif

http://www.dtek.chalmers.se/~d99papa/DSCN0013.JPG
http://www.dtek.chalmers.se/~d99papa/DSCN0083.JPG
Oge_user
QUOTE(kotrtim @ May 19 2003 - 06:35 AM)
Oge_user
I've tried the jp2 of IrfanView
Its so terrible at 5 kb
I don't know how you make you pic. so clear

Only quality 99 is transparent for me
OK, JP2 is better than JPG in comp. ratio
But what blocking artifacts, Adobe JPEG is transparent for me at quality10

Do you know if the jp2 of Irfan View it's the definitve (and complete) version?
Canar
QUOTE(ErikS @ May 19 2003 - 02:33 AM)
So what ratios are you talking about here? I must say I can't see any blocking effects in these two pictures below here. Sure, I can see some ringing and some colorations, but no blocks. And thats by the crappy hardware jpeg compressor in my cheap digicam. Can you see any blocks? (I tried to take pictures with a lot of clear sky and other low gradient areas...)

I confess to not beeing a vidofile - are you? (Btw, what's the corresponding word for audiofile when it comes to pictures and video?)


Oops, forgot the pictures smile.gif

http://www.dtek.chalmers.se/~d99papa/DSCN0013.JPG
http://www.dtek.chalmers.se/~d99papa/DSCN0083.JPG

The tree's branches in the foreground of the 83 picture show some faint, blurred blocking, as well as in the bushes by the stairs in the 13 picture.

Your camera's image quality is horrible, though. It's blurred to hell. This is especially notable on the branches of the tree in the 83 picture. It's probably making good (possibly excessive) use of the smoothing parameter of JPEG, which is something that many compressors fail to do, and isn't particularly noticable because the image quality is bad to begin with. When you begin with a high-quality lossless source, blocking (or smoothing, there's a tradeoff) becomes more noticable.

Your camera seems to do well with gradients. Try taking some pictures of high-noise scenes, especially patterned high-noise, like a woven blanket or a really branchy tree or something. Blocks may be more noticable there.
Pio2001
QUOTE(kotrtim @ May 19 2003 - 09:35 AM)
Winamp2 default skin is good enough to kill all JPEG encoders, accept Adobe smile.gif

Using subformat 4:4:4 instead of 4:2:2 solves the problem (I will remember it for sonogram captures wink.gif, they look ugly in 4:2:2)
Dologan
Heh, I'd always regarded Irfanview as a good piece of freeware software, not knowing that the exe was encrypted. (Not that I, lowly end-user, care at all about that fact).
However, I still think it is excellent for viewing images (or do you know any other freeware, small, fast viewer that supports virtually every format?). I seldom used it for encoding images, but now that I know that its encoding quality is bad, I guess I will avoid it completely.
OTOH, I wouldn't judge JPEG2000 quality from the freeware plug-in that comes with Irfanview, though. Why not try the compression from the trial of Lurawave Smartcompress? You could also try the versions of the Pro version of Smartcompress or the Photoshop plugin if you can get hold of them in the "black market". ph34r.gif
By the way, have you tried the Lurawave (LWF) format? It also claims to be better than JPG and in my experience doesn't take as long to open as JPEG2000, which is the reason I have used it to store some of my pictures. It also has some nifty features like built-in password protection (for those "pinkish" pictures you don't want others less "open-minded" to see wink.gif ) and Region-of-interest (to give priority to certain areas of the picture).

~Dologan
Pio2001
Here are the pictures (png, of course) :

Corel PhotoPaint 9, Jpeg quality max 4:2:2
Corel PhotoPaint 9, Jpeg quality max 4:4:4
NeoRenegade
Can anybody tell me what encoder Paint Shop Pro 7 uses for JPEG and how good it is?
atici
Hey I was just wondering how good the built-in encoders are inside the digital cameras. It's really a pity that I haven't seen a camera that supports png (but there're ones supporting raw). I have been thinking I actually lose quality that I could tell even though I use high quality jpg setting...
Canar
QUOTE(atici @ May 19 2003 - 09:07 PM)
Hey I was just wondering how good the built-in encoders are inside the digital cameras. It's really a pity that I haven't seen a camera that supports png (but there're ones supporting raw). I have been thinking I actually lose quality that I could tell even though I use high quality jpg setting...

It's not PNG, but I'm relatively confident there are a few cameras that support lossless compression. TIFF, I think, though possibly TGA. I don't remember exactly.
Andavari
QUOTE(dologan @ May 19 2003 - 05:16 PM)
Heh, I'd always regarded Irfanview as a good piece of freeware software, not knowing that the exe was encrypted. (Not that I, lowly end-user, care at all about that fact).
However, I still think it is excellent for viewing images (or do you know any other freeware, small, fast viewer that supports virtually every format?).

IrfanView is a good piece of freeware which I used it for about three years up until just a few days ago, however the hard to get spot-on cropping finally annoyed me, as well as the IrfanView saved .jpg images that cannot be opened in every image viewer (Corel for example).

XnView http://www.xnview.de/ which I have ditched IrfanView in favor of supports alot of formats as long as you download all the plugins or the full setup. And by the way XnView is also compressed with ASPack however there's really nothing to complain about since its good freeware.
ErikS
QUOTE(Canar @ May 19 2003 - 10:58 PM)
The tree's branches in the foreground of the 83 picture show some faint, blurred blocking, as well as in the bushes by the stairs in the 13 picture.

Your camera's image quality is horrible, though. It's blurred to hell. This is especially notable on the branches of the tree in the 83 picture. It's probably making good (possibly excessive) use of the smoothing parameter of JPEG, which is something that many compressors fail to do, and isn't particularly noticable because the image quality is bad to begin with. When you begin with a high-quality lossless source, blocking (or smoothing, there's a tradeoff) becomes more noticable.

Your camera seems to do well with gradients. Try taking some pictures of high-noise scenes, especially patterned high-noise, like a woven blanket or a really branchy tree or something. Blocks may be more noticable there.

Hehe. I know I have a crappy camera, but at least it was cheap smile.gif

To be honest, I cant see the things you mentioned. I don't have so much problem with blurring or blocking as with noise and shutter speed. Probably I'm just sensitive to other things than you...

If you want blocks - I'll give you some blocks! http://www.dtek.chalmers.se/~d99papa/bilda/
(those were of course not created by the camera though... but you can see the main problems of my camara clearly on the two leftmost pictures a bit down on the page...)
superdumprob
Andavari or anyone... What JPEG encoder does xnview use?
Andavari
QUOTE(superdumprob @ May 20 2003 - 03:08 AM)
What JPEG encoder does xnview use?

From what I'm reading in the info box is has this:
Xjpegls.dll - JPEG-LS format (read) - Copyright © University of British Columbia
Andavari
I hadn't really had much time to play around with XnView however it can save .jpg images based on a percentage quality. It doesn't just stop there, once you select a filename another box pops up allowing for more options.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.