Page 1 of 1
JPEG XR save options
Posted: Tue Sep 02, 2014 2:44 pm
by dma_k
Dear XnView developers,
When I save the file as JPEG XR (via
File → Save as) I am shown the color mode selection dialog. In this dialog I have selected "4 Grey scale", but "True Colors" is still selected.

Is it a correct behaviour for radio button group? Now I am not sure what selected option is actually active.
Re: JPEG XR save options
Posted: Sun Sep 21, 2014 4:28 pm
by omniplex
dma_k wrote:Now I am not sure what selected option is actually active.
I'm not sure what your input and output formats are. If JXR displayed as 24bits RGB is the input, and I try to save it as PGM (portable grey map), I get the colour mode box as in your screenshot with "4 grey colours" selected, and everything outside of the number of grey colours disabled, because PGM simply doesn't support black + white, colour palettes, or "true colours" (= 24bits RGB or 32bits RGBA as far as XnView is concerned).
Likewise, when I try to save this JXR as GIF I can select everything from black + white to 256 colours, but not "true colours", because GIF can only handle up to 256 colours. I don't get the colour mode box at all for formats like JPG or PNG supporting true colours. What is your target format?
I also tested "save as JXR" with an 48bits input SGI (= RGB with 16 bits per sample), but I don't get a colour mode box, because XnView 2.22 already has only 24bits at this time. Something in your scenario might be special, can you still reproduce it with XnView 2.22? Of course the colour mode radio box should never show two selections at the same time, something was wrong when you tested it.
Re: JPEG XR save options
Posted: Wed Sep 24, 2014 4:27 pm
by dma_k
Yes, there is something "special" with the image: it is
1-bit blackwhite image. My intention was to save it as 4-bit greyscale JXR, but it always saves as true color.
Ah yes, I am using / testing with v2.22.