JPEG Compression??
Moderator: Kathy_9
-
whitpet
- Posts: 4
- Joined: Wed Jan 12, 2011 10:40 pm
- System_Drive: C
- 32bit or 64bit: 32 Bit
- ram: 3.24GB
JPEG Compression??
I'm running PSPX3. I'd appreciate some help understanding the effect of no compression (or compression factor = 1) on saving files. I've searched thru the Help files, but they really don't address compression in detail.
I've got a JPEG image file straight from my camera that's approximately 4.1MB in size. If I do nothing else but "Save As" with a compression factor of 1, the new file size is approximately 50% larger, or 6.2MB. What has changed to make the file size larger? Both images are still 72DPI, 3648X2736px. I can't image that I have done anything to "improve" image quality, so why did the file size increase? Thanks for your help.
I've got a JPEG image file straight from my camera that's approximately 4.1MB in size. If I do nothing else but "Save As" with a compression factor of 1, the new file size is approximately 50% larger, or 6.2MB. What has changed to make the file size larger? Both images are still 72DPI, 3648X2736px. I can't image that I have done anything to "improve" image quality, so why did the file size increase? Thanks for your help.
- flagpole
- Posts: 535
- Joined: Wed Sep 14, 2011 10:12 am
- 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??
a compression factor of 1 is not the same as no compression. uncompressed that image would be approximately 30megabytes
jpeg uses some very clever maths to make image files smaller, even on maximum quality it is, in this case, one 5th the actual size.
if you have done nothing to the image then don't save it, just use the original. if you have done something to the image then you have to make a decision about the quality you want v the file size. you can use the jpeg optimizer to do this it will allow you to try different quality levels and see the results and file size. if you like the original files and you've just change the colour and contrast a little then you might wont to try adjusting it until the output is about 4MB.
jpeg is a lossy process, so each time you open an image and save it again you will lose some quality. strangely even if you save an image with a compression value of 99 making a very small file, if you open it again and save it with a compression value of 1 the file will be large again. which is what is happening with your camera. it may be using an equivalent compression value of say 2 or 3
on x3 i used to use a default value of 5 i think. but i would frequently change it depending on what i wanted to use it for,
jpeg uses some very clever maths to make image files smaller, even on maximum quality it is, in this case, one 5th the actual size.
if you have done nothing to the image then don't save it, just use the original. if you have done something to the image then you have to make a decision about the quality you want v the file size. you can use the jpeg optimizer to do this it will allow you to try different quality levels and see the results and file size. if you like the original files and you've just change the colour and contrast a little then you might wont to try adjusting it until the output is about 4MB.
jpeg is a lossy process, so each time you open an image and save it again you will lose some quality. strangely even if you save an image with a compression value of 99 making a very small file, if you open it again and save it with a compression value of 1 the file will be large again. which is what is happening with your camera. it may be using an equivalent compression value of say 2 or 3
on x3 i used to use a default value of 5 i think. but i would frequently change it depending on what i wanted to use it for,
-
LeviFiction
- Advisor
- Posts: 6831
- Joined: Thu Oct 02, 2008 1:07 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: Alienware M17xR4
- processor: Intel Core i7-3630QM CPU - 2_40GH
- ram: 6 GB
- Video Card: NVIDIA GeForce GTX 660M
- sound_card: Sound Blaster Recon3Di
- Hard_Drive_Capacity: 500GB
- Corel programs: PSP: 8-2023
- Location: USA
Re: JPEG Compression??
Just a quick add here, you can change the encoding type to lossless.
https://levifiction.wordpress.com/
-
LindaSue
- Posts: 515
- Joined: Tue May 24, 2011 1:40 pm
- 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??
Unless they've changed something since PSPX2, the problem with using the Lossless JPG option is that other programs might not be able to open them. I just saved one with PSPX2 and IrfanView can't open it. Also, Windows XP can't create a thumbnail for it when I view it in Explorer. My CompuPic image viewer can't open it either. Neither can Serif's PagePlus. Apparently those files can only be opened by PSP itself which makes that format rather useless.LeviFiction wrote:Just a quick add here, you can change the encoding type to lossless.
Using Paint Shop Pro versions 5, 6, 7, 8, 9, 12, 14, 16
-
39_Steps
- Posts: 53
- Joined: Wed Sep 28, 2011 2:43 am
- System_Drive: C
- 32bit or 64bit: 64 Bit
- processor: Intel Core i3 2330
- ram: 4GB
- Video Card: Intel HD 3000
- Hard_Drive_Capacity: 640GB
Re: JPEG Compression??
When I first opened the Irfanview browser to the folder containing the newly saved "lossless" JPG, the file did not appear. Then I opened Windows Explorer, went to the lossless.JPG file and clicked on "Open with". From that point on the file was not only visible in the Irfanview folder, but opened in all other Photo Editing apps that I have on my Vista laptop.
Perhaps is is a file association problem, or an indexing issue that takes a couple of iterations to work itself out the first time. PSP X4.
Perhaps is is a file association problem, or an indexing issue that takes a couple of iterations to work itself out the first time. PSP X4.
-
LindaSue
- Posts: 515
- Joined: Tue May 24, 2011 1:40 pm
- 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??
I don't have that option under "Open with" on Windows XP. Is there a way to add lossless JPG to the list? I really don't see much point in using that format though. If I were to post one on my website most people wouldn't see the picture unless they've got their computer configured to view them.39_Steps wrote:When I first opened the Irfanview browser to the folder containing the newly saved "lossless" JPG, the file did not appear. Then I opened Windows Explorer, went to the lossless.JPG file and clicked on "Open with". From that point on the file was not only visible in the Irfanview folder, but opened in all other Photo Editing apps that I have on my Vista laptop.
Perhaps is is a file association problem, or an indexing issue that takes a couple of iterations to work itself out the first time. PSP X4.
Using Paint Shop Pro versions 5, 6, 7, 8, 9, 12, 14, 16
- flagpole
- Posts: 535
- Joined: Wed Sep 14, 2011 10:12 am
- 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??
if you hold down shift and right click you should have the open with option... IIRCLindaSue wrote:I don't have that option under "Open with" on Windows XP. Is there a way to add lossless JPG to the list? I really don't see much point in using that format though. If I were to post one on my website most people wouldn't see the picture unless they've got their computer configured to view them.39_Steps wrote:When I first opened the Irfanview browser to the folder containing the newly saved "lossless" JPG, the file did not appear. Then I opened Windows Explorer, went to the lossless.JPG file and clicked on "Open with". From that point on the file was not only visible in the Irfanview folder, but opened in all other Photo Editing apps that I have on my Vista laptop.
Perhaps is is a file association problem, or an indexing issue that takes a couple of iterations to work itself out the first time. PSP X4.
-
teknisyan
- Posts: 2421
- Joined: Wed Oct 06, 2010 4:18 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: Sony Corporation VAIO
- processor: Intel Corel i5
- ram: 4 GB
- Video Card: ATI Mobility Radeon HD 5650
- sound_card: Realtek HD Audio
- Hard_Drive_Capacity: 500 GB
- Location: Riyadh, KSA
- Contact:
Re: JPEG Compression??
0 compression would mean is the same for raw files from digital camera. You can save a PspImage file with or without compression. Both compression methods that Corel PaintShop Photo Pro uses are lossless and reduce the file size without losing any image information. Uncompressed files require more disk space.
Corel PaintShop Photo Pro uses the following compression methods:
• Run length encoding (RLE) — a fast compression method, which compresses most multilayer images to about 75 percent of their original size. This method works well with images that contain large areas of the same color.
• LZ77 compression — a slower compression method that compresses most images to smaller sizes than with the RLE method. This method works well with photorealistic images.
You can also follow these steps to save a Jpeg (*.jpg) and keep the high-quality of the photo: http://corel.force.com/index/articles/e ... -the-photo
Corel PaintShop Photo Pro uses the following compression methods:
• Run length encoding (RLE) — a fast compression method, which compresses most multilayer images to about 75 percent of their original size. This method works well with images that contain large areas of the same color.
• LZ77 compression — a slower compression method that compresses most images to smaller sizes than with the RLE method. This method works well with photorealistic images.
You can also follow these steps to save a Jpeg (*.jpg) and keep the high-quality of the photo: http://corel.force.com/index/articles/e ... -the-photo
Like reading blogs?
About Tech
About Sports
Pnoy.Me - A URL Shortener
Follow me on Facebook & Twitter
About Tech
About Sports
Pnoy.Me - A URL Shortener
Follow me on Facebook & Twitter
-
LindaSue
- Posts: 515
- Joined: Tue May 24, 2011 1:40 pm
- 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??
I tried all of the options listed in the right-click Open menu and it won't open in any of them except PSP. Maybe it's an XP issue or maybe only lossless JPGs saved with X3 and X4 will open in other programs. The ones created with PSP8 and X2 won't.flagpole wrote:if you hold down shift and right click you should have the open with option... IIRCLindaSue wrote:I don't have that option under "Open with" on Windows XP. Is there a way to add lossless JPG to the list? I really don't see much point in using that format though. If I were to post one on my website most people wouldn't see the picture unless they've got their computer configured to view them.39_Steps wrote:When I first opened the Irfanview browser to the folder containing the newly saved "lossless" JPG, the file did not appear. Then I opened Windows Explorer, went to the lossless.JPG file and clicked on "Open with". From that point on the file was not only visible in the Irfanview folder, but opened in all other Photo Editing apps that I have on my Vista laptop.
Perhaps is is a file association problem, or an indexing issue that takes a couple of iterations to work itself out the first time. PSP X4.
Using Paint Shop Pro versions 5, 6, 7, 8, 9, 12, 14, 16
- flagpole
- Posts: 535
- Joined: Wed Sep 14, 2011 10:12 am
- 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??
i'm reasonable familiar with the jpeg standards and i'd never heard of lossless jpeg. but when i use it windows creates thumbnails they even open in MS paint. and examination of the file reveals nothing different about them.
best i can tell is that the lossy steps such as DCT are effectively removed from the process but the file remains fully compliant jpeg.
best i can tell is that the lossy steps such as DCT are effectively removed from the process but the file remains fully compliant jpeg.
-
LindaSue
- Posts: 515
- Joined: Tue May 24, 2011 1:40 pm
- 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??
It must be a Windows XP problem then. XP must not support lossless JPG.flagpole wrote:i'm reasonable familiar with the jpeg standards and i'd never heard of lossless jpeg. but when i use it windows creates thumbnails they even open in MS paint. and examination of the file reveals nothing different about them.
best i can tell is that the lossy steps such as DCT are effectively removed from the process but the file remains fully compliant jpeg.
Using Paint Shop Pro versions 5, 6, 7, 8, 9, 12, 14, 16
-
LindaSue
- Posts: 515
- Joined: Tue May 24, 2011 1:40 pm
- 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??
The reason I was interested in using Lossless JPG is that I thought it would be a good way to avoid the green dots that PSP8 adds to all JPGs. It does solve that problem but it's useless to me if I can't open or view my images in any program other than PSP. I did find another solution though. I can use Progressive JPG with PSP8 and it doesn't put any green dots on my images. I can see where the dots would be but they're the same color as the rest of the picture so they don't stand out like the green dots do. As a small bonus, the Progressive JPG files seem to be slightly smaller than standard JPG with both set to a compression of "1". The lossless JPGs were about three times the size and are even larger than PNGs.
Using Paint Shop Pro versions 5, 6, 7, 8, 9, 12, 14, 16
-
JRosenfeld
- Posts: 40
- Joined: Thu Apr 10, 2008 11:30 pm
- System_Drive: C
- 32bit or 64bit: 32 Bit
- motherboard: Dell XPS 630i [Dell Inc 0PP150 A00]
- processor: 2.40 gigahertz Intel Core2 Quad
- ram: 3GB
- Video Card: nVidia 8800GT
- sound_card: Creative Audigy 2
- Hard_Drive_Capacity: 2x250GB
- Monitor/Display Make & Model: Dell 1800FP
Re: JPEG Compression??
LindaSue wrote:It must be a Windows XP problem then. XP must not support lossless JPG.flagpole wrote:i'm reasonable familiar with the jpeg standards and i'd never heard of lossless jpeg. but when i use it windows creates thumbnails they even open in MS paint. and examination of the file reveals nothing different about them.
best i can tell is that the lossy steps such as DCT are effectively removed from the process but the file remains fully compliant jpeg.
Not an XP problem: I run XP pro SP3 and have no problems viewing lossless jpg created in PSP X4, on my PC. Thumbnail is created and shows in Windows Explorer, Windows Picture and fax viewer ('preview' on right click menu on my system) shows it and opening the file in other apps also causes no problem (e.g. Paint, MS Word 2002, Roxio Photosuite all open the file; to select one or other software you have: right click, open with, if the app is not listed click Choose program, browse to its .exe file, click OK).
As test file I used a 3872 x 2592 pixel, 300dpi .jpg from a Nikon camera D40X (not mine, just a photo someone sent me, so I don't have the RAW file) file size 2,612 KB.
I opened that in PSPX4 file/save as, selected jpg, in options selected lossless, and saved under a different name. This file was 6,210 KB
I also tried a few other pictures including starting with other formats (e.g. png)
-
LindaSue
- Posts: 515
- Joined: Tue May 24, 2011 1:40 pm
- 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??
I don't have PSPX4 but the Lossless JPGs created with PSP8 and X2 can't be viewed in anything other than PSP. They must have changed something since X2. JRosenfeld, can you post a sample of one here so that I can see if any of my programs can view it?
Using Paint Shop Pro versions 5, 6, 7, 8, 9, 12, 14, 16
- flagpole
- Posts: 535
- Joined: Wed Sep 14, 2011 10:12 am
- 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??
here. lovely summer glau.LindaSue wrote:I don't have PSPX4 but the Lossless JPGs created with PSP8 and X2 can't be viewed in anything other than PSP. They must have changed something since X2. JRosenfeld, can you post a sample of one here so that I can see if any of my programs can view it?
it's not me in the picture btw, just something i found on t'internet.
edit you have to actually click the image to get the lossless version. which means the forum software can handle the images correctly.
also the exif data says psp14.00 not 14.01
