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

Moderators: XnTriq, helmut, xnview

User avatar
masterjp
Posts: 456
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: XnViewMP 1.8.3 | XN-View 2.52.0 | XnConvert 1.102.0 | Adobe Photoshop Elements 2024 | Elements XXL 11 | Paint.Net 5.1.1
cday
XnThusiast
Posts: 4187
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: 456
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: XnViewMP 1.8.3 | XN-View 2.52.0 | XnConvert 1.102.0 | Adobe Photoshop Elements 2024 | Elements XXL 11 | Paint.Net 5.1.1
User avatar
xnview
Author of XnView
Posts: 44926
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.