0.91 beta 1 - Export to PCX - Bigger filesize with RLE compression?

Moderators: XnTriq, helmut, xnview

User avatar
masterjp
Posts: 328
Joined: Fri Feb 13, 2009 4:37 pm
Location: Duesseldorf, Germany

0.91 beta 1 - Export to PCX - Bigger filesize with RLE compression?

Post by masterjp »

I tested the export dialog and selected the pcx format for export.
To test the RLE compression I recognize, that the RLE compression produce bigger files!
Is it correct? I though a picture compression reduce the filesize and do not increase it.

The upper picture shows the picture without RLE compression and the lower picture with RLE compression.

tst.jpg
PC: Intel 8700k + Asus Z370-F + 16 GB RAM G.Skill
OS: Windows 10 Pro x64 (latest updates) | XN-View (latest stable version) |XnViewMP (latest stable version) | XnConvert (latest) | Adobe Photoshop Elements 2022 & Elements XXL 9
cday
XnThusiast
Posts: 3651
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: 0.91 beta 1 - Export to PCX - Bigger filesize with RLE compression?

Post by cday »

masterjp wrote: Fri Jun 08, 2018 5:17 pm I tested the export dialog and selected the pcx format for export.
To test the RLE compression I recognize, that the RLE compression produce bigger files!
Is it correct? I though a picture compression reduce the filesize and do not increase it.
I think the answer is simply that different types of compression are best suited to different types of image: colour mode (colour, grayscale or black and white) and different types of content: (photograph or line drawing, for example).

In this case RLE compression isn't suited to the complexity of your photo, but it could be very effective for a line drawing.

RLE Compression
User avatar
masterjp
Posts: 328
Joined: Fri Feb 13, 2009 4:37 pm
Location: Duesseldorf, Germany

Re: 0.91 beta 1 - Export to PCX - Bigger filesize with RLE compression?

Post by masterjp »

I thought so, but I was not sure. Thank you.
PC: Intel 8700k + Asus Z370-F + 16 GB RAM G.Skill
OS: Windows 10 Pro x64 (latest updates) | XN-View (latest stable version) |XnViewMP (latest stable version) | XnConvert (latest) | Adobe Photoshop Elements 2022 & Elements XXL 9
User avatar
xnview
Author of XnView
Posts: 39864
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 0.91 beta 1 - Export to PCX - Bigger filesize with RLE compression?

Post by xnview »

yes it's normal. RLE for PCX is not good for photography, only drawing
Pierre.