Discrepancies in display of JPEG images

Ask for help and post your question on how to use XnView Classic.

Moderators: XnTriq, helmut, xnview

User avatar
XnTriq
Moderator & Librarian
Posts: 6133
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Discrepancies in display of JPEG images

Post by XnTriq »

Can someone please explain why this image is displayed differently by XnView and...
  • Corel Photo-Paint 11
  • Macromedia Fireworks 4
  • MediaChance Photo-Brush 3
  • IrfanView 4
  • Cerious ThumbsPlus 7
... as compared to...
  • Adobe Photoshop 6
  • Micrografx Picture Publisher 9
  • Jasc Paint Shop Pro 9
XnView vs. Paint Shop Pro:
User avatar
Drahken
Posts: 884
Joined: Sun Apr 10, 2005 4:29 pm

Post by Drahken »

It appears in your sample That xnview is applying some sort of antialiasing that psp9 isn't. Are you using a resample/high quality zoom filter in xnview but just plain zoom in psp9?
I can't run a direct test myself, since I don't have any of the 3 progs in your second list. I do have psp7 though, I'll check the image with that and see what it looks like.





(OT Whoever made that original image was foolish, that never should have been saved as a JPG. All the solid colors & sharp edges make it an ideal candidate for the PNG format, or even the GIF format.)



EDIT: I just tried the image in psp7 and in xnview. Psp7 and xnview (with high quality zoom disabled) display it the same as you xnview example. Xnview with high quality zoom enabled displays it as very soft and almost smeared. I am unable to recreate the result you got in photoshop & psp9.
User avatar
XnTriq
Moderator & Librarian
Posts: 6133
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Post by XnTriq »

Thanks for taking the time to look into this, Drahken.
Drahken wrote:It appears in your sample That xnview is applying some sort of antialiasing that psp9 isn't. Are you using a resample/high quality zoom filter in xnview but just plain zoom in psp9?
Right, I forgot to mention that High quality zoom is always turned off for both Reduce and Enlarge in my XnView installation.
As for Paint Shop Pro, there is a slider in the Display and Caching preferences:

Code: Select all

Zoom / Rescaling Quality
[ · · · · · · · · · · · · · · ●]
Faster                     Better
Paint Shop Pro 9 User Guide wrote:Adjust the Zoom / Rescaling Quality slider to set whether the Zoom tool quality is faster or better.
Faster will zoom images faster, but will display less fine detail. Better will zoom images more slowly, but display more fine detail.
I had it set to its maximum, but to my surprise I couldn't spot any difference between “fastest” and “best” (even post-restart).

After decompressing/converting test.jpeg to BMP format with each of the programs listed in my initial post, I opened Fireworks.bmp, Picture_Publisher.bmp etc. in XnView's Compare panel. The screenshot(s) were then made at a zoom level of 600%.
Drahken wrote:EDIT: I just tried the image in psp7 and in xnview. Psp7 and xnview (with high quality zoom disabled) display it the same as you xnview example. Xnview with high quality zoom enabled displays it as very soft and almost smeared. I am unable to recreate the result you got in photoshop & psp9.
<-- EDIT -- //

Paint Shop Pro prior to version 8 came with jpeglib.dll.
Versions 8+9+X+XI rely on gdiplus.dll (Microsoft Windows GDI+ Library) and jpegacc.dll for dealing with JPEGs.
  • ThumbsPlus 7 & Paint Shop Photo Album 5: jpegacc.dll (AccuSoft ImageGear Imaging Toolkit)
  • Animation Shop 3 & Paint Shop Pro 7: jpeglib.dll (IJG JPEG library)
  • CorelDRAW Graphics Suite 11: iejpg110.flt (Corel JPEG Import/Export Filter) & ibjpg2.flt (ImageStream JPG Graphic Import Filter)
// -- EDIT -->
User avatar
XnTriq
Moderator & Librarian
Posts: 6133
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Post by XnTriq »

I thought I had already posted what I found out in August of last year, but apparently I didn't. :?
timdorr (TiVo Community Forum: [url=http://www.tivocommunity.com/tivo-vb/showthread.php?p=4404634#post4404634]Motorola 6412 vs Series 3 Quality[/url]) wrote:
SCSIRAID wrote:Another likely contributor would be the MPEG decoder.
Actually, that's very much the likely cause. Each box has different methods for decompressing the data. On top of that, you have different reconstructive techniques like deblocking and deringing that would affect quality in varying ways. Those techniques also aren't part of the standard, so the visual quality can vary great from one decoder to the next.

Check these out for comparison: http://www.videohelp.com/images/compare.jpg
[url=http://www.betterjpeg.com/jpeg-plug-in.htm/]BetterJPEG[/url] ([color=green]Edit[/color] » [color=green]Reconstruct...[/color]) wrote:Reconstruction is more accurate JPEG decompression technique. Using it results in a cleaner image.

This decompression technique is based on more accurate dequantization of JPEG DCT coefficients and unlike most other JPEG reconstruction methods is not achieved by simply smoothing of a decompressed bitmap.

Note: Reconstruction will have no effect on unchanged blocks in a final image, however it can be used to increase quality and reduce degradation in blocks that are to be re-compressed, and in operations leading to full re-compression.
XnView Forum:
User avatar
JohnFredC
XnThusiast
Posts: 2010
Joined: Wed Mar 17, 2004 8:33 pm
Location: Sarasota Florida

Post by JohnFredC »

Man! That is a wealth of useful stuff!

Thank you Mr. Librarian!

Do you know about FlowGram?
John
User avatar
Olivier_G
XnThusiast
Posts: 1423
Joined: Thu Dec 23, 2004 7:17 pm
Location: Paris, France

Post by Olivier_G »

XnTriq wrote:[*]Digital Light & Color Message Boards: Color variation due to JPEG compression
I have been spotted by Mr. Librarian! :wink:
Olivier
User avatar
Jaff
Posts: 67
Joined: Fri Dec 07, 2007 8:55 am
Location: Romania

Post by Jaff »

Differences in display of JPEG images are usualy from decompresion method used by programs. Ex: Display by Jih-Shin Ho:
- Accurate integer
- Fast integer
- Floating point
Imi este indiferent ce cred ceilalti despre mine, caci oricum fiecare crede ce-i convine lui si nu ceea ce e real, doar ca mi-ar fi placut sa ma vada asa cum sint de fapt, nu asa cum poate le-ar placea lor sa creada. Ei au ales deja...