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

Moderators: XnTriq, helmut, xnview

User avatar
masterjp
Posts: 449
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 + Asus RTX 3050 OC + Samsung SSD
OS: Windows 10 Pro 64bit 22H2 |
GFX: XN-View 2.51.6 | XnViewMP 1.8.0 | XnConvert 1.100.1 | Adobe Photoshop Elements 2024 | Elements XXL 11 | Paint.Net
cday
XnThusiast
Posts: 4136
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: 449
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 + Asus RTX 3050 OC + Samsung SSD
OS: Windows 10 Pro 64bit 22H2 |
GFX: XN-View 2.51.6 | XnViewMP 1.8.0 | XnConvert 1.100.1 | Adobe Photoshop Elements 2024 | Elements XXL 11 | Paint.Net
User avatar
xnview
Author of XnView
Posts: 44580
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.