JPEG Compression??

Corel Paint Shop Pro

Moderator: Kathy_9

Tim Morrison
Moderator
Posts: 341
Joined: Wed Mar 26, 2008 3:42 pm
operating_system: Windows XP Pro
System_Drive: C
32bit or 64bit: 32 Bit
motherboard: Asus P4533
processor: 3.16 GHz
ram: 2GB
Video Card: Radeon HD4650
Hard_Drive_Capacity: 2.6 TB
Monitor/Display Make & Model: HP LP2275W
Location: Australia

Re: JPEG Compression??

Post by Tim Morrison »

http://en.wikipedia.org/wiki/Lossless_JPEG seems to give a pretty good description. A couple of quotes -
Lossless JPEG refers to a 1993 addition to JPEG standard by the Joint Photographic Experts Group to enable lossless compression. However, it might be used as an umbrella term to refer to all lossless compression schemes developed by the Joint Photographic Expert group. They include JPEG 2000 and JPEG-LS.
... and a description of the different encoding method used -
Lossless JPEG is actually a mode of operation of JPEG. This mode exists because the Discrete Cosine Transform (DCT) based form cannot guarantee that encoder input would exactly match decoder output since the Inverse DCT is not rigorously defined. Unlike the lossy mode which is based on the DCT, the lossless coding process employs a simple predictive coding model called differential pulse code modulation (DPCM).
Tim Morrison
C-Tech Volunteer
User avatar
flagpole
Posts: 535
Joined: Wed Sep 14, 2011 10:12 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gigabyte B450 AORUS ELITE DDR4 USB 3.1 RGB
processor: Ryzen 2600
ram: 16GB
Video Card: RTX 2060
sound_card: on board
Hard_Drive_Capacity: 6.5TB
Monitor/Display Make & Model: Iiyama 27"
Location: UK
Contact:

Re: JPEG Compression??

Post by flagpole »

Tim Morrison wrote:http://en.wikipedia.org/wiki/Lossless_JPEG seems to give a pretty good description. A couple of quotes -
Lossless JPEG refers to a 1993 addition to JPEG standard by the Joint Photographic Experts Group to enable lossless compression. However, it might be used as an umbrella term to refer to all lossless compression schemes developed by the Joint Photographic Expert group. They include JPEG 2000 and JPEG-LS.
... and a description of the different encoding method used -
Lossless JPEG is actually a mode of operation of JPEG. This mode exists because the Discrete Cosine Transform (DCT) based form cannot guarantee that encoder input would exactly match decoder output since the Inverse DCT is not rigorously defined. Unlike the lossy mode which is based on the DCT, the lossless coding process employs a simple predictive coding model called differential pulse code modulation (DPCM).
yes that is lossless jpeg. that is not what is implemented when PSP X4 saves as 'lossless' jpeg.

the phrasing of the wikipedia article bight be clearer like this:
Lossless JPEG is actually a mode of operation of JPEG. This mode exists because the Discrete Cosine Transform (DCT) (used by the standard, lossy, jpeg encoder,) based form cannot guarantee that encoder input would exactly match decoder output since the Inverse DCT is not rigorously defined. Unlike the lossy mode which is based on the DCT, the lossless coding process employs a simple predictive coding model called differential pulse code modulation (DPCM).
the PSP X4 'lossless' jpeg is DCT based.

DCT incidentally is a non algebraic fourier transform technique where discrete data is approximated using cosine functions. The image below shows how different frequency, in this case sine waves are combined to produce something approximating a square wave.
Image
but no matter how many you use it is never completely accurate because of the Gibbs phenomenon.
LindaSue
Posts: 515
Joined: Tue May 24, 2011 1:40 pm
operating_system: Windows XP Pro
System_Drive: C
32bit or 64bit: 32 Bit
motherboard: Gigabyte
processor: 2.71GHz AMD Athlon II X2 215 processor
ram: 3 GB
Video Card: ATI Radeon HD 4350
sound_card: Realtek AC97 Audio [onboard]
Hard_Drive_Capacity: 1320 GB
Monitor/Display Make & Model: Asus MX279 HDMI 27-inch
Corel programs: Paint Shop Pro X2, X4, X6

Re: JPEG Compression??

Post by LindaSue »

Abiel, you used X4 to save the file and we've already determined that Lossless JPG files saved with PSP4 ARE readable by other programs. It's the ones created in earlier versions of PSP that aren't compatible with other programs. I don't have X4. I use PSP8 and PSPX2 and neither of those versions will create a lossless JPG that can be opened by any program other than PSP.

The programs that I tried were:

IfranView
CompuPic
Windows Paint
PagePlus
Microsoft Publisher
Windows Explorer
Using Paint Shop Pro versions 5, 6, 7, 8, 9, 12, 14, 16
User avatar
flagpole
Posts: 535
Joined: Wed Sep 14, 2011 10:12 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gigabyte B450 AORUS ELITE DDR4 USB 3.1 RGB
processor: Ryzen 2600
ram: 16GB
Video Card: RTX 2060
sound_card: on board
Hard_Drive_Capacity: 6.5TB
Monitor/Display Make & Model: Iiyama 27"
Location: UK
Contact:

Re: JPEG Compression??

Post by flagpole »

this i believe is because lossless jpeg is not widely supported. lossy jpeg however is.
Post Reply