JPEG Lossless does not support non-rgb colorspaces

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: XnTriq, helmut, xnview

User avatar
foxyshadis
Posts: 387
Joined: Sat Nov 18, 2006 8:57 am

JPEG Lossless does not support non-rgb colorspaces

Post by foxyshadis »

I think I noticed this as far back as B2, actually, and it totally slipped my mind. Any colorspace other than true RGB isn't transformed correctly from JLS, instead it just treats all panes as RGB. Here are a few examples:

original PNG
JLS RGB
JLS (R-=G, B-=G) (now known as YCoCg)
JLS (R-=G, B-=(R+G)/2)
JLS YCbCr (Jpeg color)
JLS YCbCr (Jpeg2k color)

It doesn't overly bother me, I only use the format as mid-term storage when I don't want to store some enormous psd for six months. But I thought you'd like to know so you could keep it in mind in the future.

V 1.90 B6
Last edited by foxyshadis on Mon Dec 25, 2006 1:18 am, edited 1 time in total.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France

404 404 404

Post by Clo »

:) Hello !

• Well, except for the original PNG, I get 404_s for all other images…

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
User avatar
foxyshadis
Posts: 387
Joined: Sat Nov 18, 2006 8:57 am

Post by foxyshadis »

Oops! I left the png extension on them all. Fixed now.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France

Not displayed…

Post by Clo »

:) Again !

:? They don't seem supported by my browser. Nothing is displayed but the lovely [ x ] mark…
• IE6+Maxthon interface here…

- I'll try to save one to see in XnView …

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
User avatar
foxyshadis
Posts: 387
Joined: Sat Nov 18, 2006 8:57 am

Post by foxyshadis »

Any word on this? I keep a number of these files around, because they're often the tightest lossless compression format, and it's really handy to be able to open one in xnview for batch exporting a bunch of stuff.

I could sacrifice space for compatibility and use png or j2k (or tiff or...), or sacrifice perfect lossless and use jpeg max quality, but I'd hate to have to.

(btw, the format definitely isn't supported by any browser or plugins that I know of, it's an editing format only.)