Forgot Password
Pentax Camera Forums Home
 

Reply
Show Printable Version Search this Thread
03-09-2016, 04:49 PM   #1
Pentaxian




Join Date: May 2012
Posts: 2,962
Compressing a photo?

I want to know how to effectively compress a photo. When I shoot I always shoot in RAW+...I also always use the highest settings on the camera (I am not sure if that matters or not). On my K3 it's menu option 1 line #2 "Image capture settings"...

I have it set to 3 stars but then it has a 'jpeg recorded pixels' and goes from XS all the way to L... not sure what that all means but I assume its only applicable to the JPEG because the RAW file is the RAW file. My RAW files are in DNG. I only use the in camera jpeg so that later on it's easier for me to sort out keepers. I don't have to import them into lightroom to see the image. It also makes finding an image a lot easier later on. Other than that I really have no use for the in camera JPEG.

But let's say for a minute I took a shot in RAW and processed it and exported it. Now I have this giant JPEG that looks as good as I can get it...Sometimes though when I want to downsize the image for using it online or email or any number of things (facebook)...sometimes my JPEG has artifacts all over it that to me are very ugly and very noticeable. Some of the images even look blurry.

I do not know the technical terms for all that but I assume the term 'artifact' is correct.

In any case what is a good method for me to compress a file and/or downsize it so that it doesn't have all those 'left overs' and so the image still remains sharp?

I am a firm believer in the KISS method so please don't get to technical on me. Some explanation would be helpful but more importantly a simple process to do that for my jpegs would be great.

Thanks!

03-09-2016, 05:00 PM   #2
Administrator
Site Webmaster
Adam's Avatar

Join Date: Sep 2006
Location: Arizona
Photos: Gallery | Albums
Posts: 51,594
QuoteOriginally posted by alamo5000 Quote
In any case what is a good method for me to compress a file and/or downsize it so that it doesn't have all those 'left overs' and so the image still remains sharp?
You could create a photoshop action to halve the resolution of the original image, save as TIFF and use ZIP or LZW compression. That should still give you enough resolution to crop, and no artifacts will be introduced since TIFF is a lossless format.

Such a file should be 30-40% smaller than the original JPEG.

QuoteOriginally posted by alamo5000 Quote
I have it set to 3 stars but then it has a 'jpeg recorded pixels' and goes from XS all the way to L... not sure what that all means but I assume its only applicable to the JPEG because the RAW file is the RAW file. My RAW files are in DNG. I only use the in camera jpeg so that later on it's easier for me to sort out keepers. I don't have to import them into lightroom to see the image. It also makes finding an image a lot easier later on. Other than that I really have no use for the in camera JPEG.
That's the JPEG resolution. As you pointed out, RAWs are always recorded at the sensor's actual resolution.

Adam
PentaxForums.com Webmaster (Site Usage Guide | Site Help | My Photography)



PentaxForums.com server and development costs are user-supported. You can help cover these costs by donating or purchasing one of our Pentax eBooks. Or, buy your photo gear from our affiliates, Adorama, B&H Photo, KEH, or Topaz Labs, and get FREE Marketplace access - click here to see how! Trusted Pentax retailers:
03-09-2016, 05:01 PM   #3
Site Supporter
Site Supporter
jatrax's Avatar

Join Date: May 2010
Location: Washington Cascades
Photos: Gallery | Albums
Posts: 12,991
quality settings in the camera only affect the jpeg.

For making a compressed photo, you export as a jpeg, that is by definition a 'compressed' format. How compressed is determined by the quality slider in the software you export from. In Lightroom for example you can set it from 0 to 100. In other applications they use numbers from 1 to 10 or 1 to 12. Some applications also have a "save for web" export which is even smaller.
03-09-2016, 05:12 PM   #4
Pentaxian




Join Date: May 2012
Posts: 2,962
Original Poster
QuoteOriginally posted by Adam Quote
You could create a photoshop action to halve the resolution of the original image, save as TIFF and use ZIP or LZW compression. That should still give you enough resolution to crop, and no artifacts will be introduced since TIFF is a lossless format.

Such a file should be 30-40% smaller than the original JPEG.
That sounds awesome! Now can you translate that into English?

I am only using an older version of LR so I would have no idea how to do what you just said.

Most of the time when I export the JPEG it's been exported a long time before I ever need to worry about compressing it...do I have to export from RAW to do that or can I convert an existing JPEG to do what you said?

---------- Post added 03-09-16 at 06:16 PM ----------

QuoteOriginally posted by jatrax Quote
In Lightroom for example you can set it from 0 to 100.
I will import a file and try to look for that setting.

Also when I view JPEGs I tend to use MS Office Picture Manager. That gives an option to compress to various sizes, documents, email, web...

How is that different than if I just resize the image to whatever size I want using that program?

03-09-2016, 05:55 PM - 2 Likes   #5
Site Supporter
Site Supporter
jatrax's Avatar

Join Date: May 2010
Location: Washington Cascades
Photos: Gallery | Albums
Posts: 12,991
QuoteOriginally posted by alamo5000 Quote
Also when I view JPEGs I tend to use MS Office Picture Manager. That gives an option to compress to various sizes, documents, email, web...
Not familiar with that program but I would assume since you are starting from a jpeg you are resizing the jpeg which might be the cause of your artifacts. I never change a jpeg. If I want a change I go back to the RAW and re-export with the changes made.

I consider a jpeg to be the same as a physical print, a final product that cannot be changed.
03-09-2016, 06:39 PM   #6
Site Supporter
Site Supporter
jpzk's Avatar

Join Date: Jan 2009
Location: Québec
Photos: Gallery | Albums
Posts: 8,251
I would like to ask the OP if I may invade this thread with just one concern I have with "compression" of RAW files to JPEG's ... resulting from DCU5 handling of RAW files to JPEG's.
Is this OK with you?
Thanks.

JP
03-09-2016, 06:44 PM   #7
Pentaxian




Join Date: May 2012
Posts: 2,962
Original Poster
QuoteOriginally posted by jpzk Quote
I would like to ask the OP if I may invade this thread with just one concern I have with "compression" of RAW files to JPEG's ... resulting from DCU5 handling of RAW files to JPEG's.
Is this OK with you?
Thanks.

JP
Be my guest. I don't mind at all. Just as long as everything is in the general arena or related I don't care

I reserve the right to bring it back to the original topic at a later time LOL!!! J/K...

03-09-2016, 07:00 PM   #8
Site Supporter
Site Supporter
jpzk's Avatar

Join Date: Jan 2009
Location: Québec
Photos: Gallery | Albums
Posts: 8,251
QuoteOriginally posted by alamo5000 Quote
Be my guest. I don't mind at all. Just as long as everything is in the general arena or related I don't care

I reserve the right to bring it back to the original topic at a later time LOL!!! J/K...
Thanks !!

Here it is:

Using DCU5 to open the RAW (DNG) files taken with the K3.
If I want to save them in JPEG's, I get :
"Save as with image processing ..." then,
"Save as type": (I choose JPEG)
"Compression Ratio" (I get to pick from 1 to 4 stars) ... does this mean that the higher the number of stars, the higher will the compression be and therefore "higher" quality ??

So, that was the query ... if that fits with the intent of this thread?

Thanks!
03-09-2016, 07:07 PM - 1 Like   #9
Site Supporter
Site Supporter
jatrax's Avatar

Join Date: May 2010
Location: Washington Cascades
Photos: Gallery | Albums
Posts: 12,991
QuoteOriginally posted by jpzk Quote
"Compression Ratio" (I get to pick from 1 to 4 stars) ... does this mean that the higher the number of stars, the higher will the compression be and therefore "higher" quality ??
Cannot speak specifically for DCU5 but in general the more stars the higher quality the jpeg, and thus the less compression and the larger the resulting file size.
03-09-2016, 07:28 PM   #10
Site Supporter
Site Supporter
jpzk's Avatar

Join Date: Jan 2009
Location: Québec
Photos: Gallery | Albums
Posts: 8,251
QuoteOriginally posted by jatrax Quote
Cannot speak specifically for DCU5 but in general the more stars the higher quality the jpeg, and thus the less compression and the larger the resulting file size.
Thanks for the reply.
That would make sense.
No further "demands" ...
03-09-2016, 09:24 PM   #11
Veteran Member




Join Date: Dec 2010
Location: Ontario
Photos: Gallery
Posts: 3,332
I also export from Lightroom whenever I need a jpeg. You can set up different export presets for different uses, email, uploading to forums, flickr, various printing configurations, etc.

Here's more info on the export dialog, including a video that shows you how to make your own presets:

https://helpx.adobe.com/lightroom/help/export-presets-settings-plug-ins.html

Do you have examples of the 'artifacts' you're seeing? Some websites will automatically resize and/or recompress anything you upload, so sometimes there's not much you can do. It's also possible that your MS Office Picture Manager is doing horrible things compression-wise, it you upload a few examples that might help.

QuoteOriginally posted by jpzk Quote
"Compression Ratio" (I get to pick from 1 to 4 stars) ... does this mean that the higher the number of stars, the higher will the compression be and therefore "higher" quality ??
It's almost surely as Jatrax has said, but it's easy to check - just export the same file at 1 star and at 4 stars but leave everything else identical. Whichever has the smaller size (in KB) has more compression and lower visual quality. The visual quality difference may be hard to detect depending on what compression the star ratings actually represent. For fun, you can try exporting at all four settings and check if you can tell them apart visually.
03-10-2016, 08:33 AM   #12
Site Supporter
Site Supporter
jpzk's Avatar

Join Date: Jan 2009
Location: Québec
Photos: Gallery | Albums
Posts: 8,251
QuoteOriginally posted by BrianR Quote
I also export from Lightroom whenever I need a jpeg. You can set up different export presets for different uses, email, uploading to forums, flickr, various printing configurations, etc.

Here's more info on the export dialog, including a video that shows you how to make your own presets:

https://helpx.adobe.com/lightroom/help/export-presets-settings-plug-ins.html

Do you have examples of the 'artifacts' you're seeing? Some websites will automatically resize and/or recompress anything you upload, so sometimes there's not much you can do. It's also possible that your MS Office Picture Manager is doing horrible things compression-wise, it you upload a few examples that might help.



It's almost surely as Jatrax has said, but it's easy to check - just export the same file at 1 star and at 4 stars but leave everything else identical. Whichever has the smaller size (in KB) has more compression and lower visual quality. The visual quality difference may be hard to detect depending on what compression the star ratings actually represent. For fun, you can try exporting at all four settings and check if you can tell them apart visually.
Sure is easy to check then !
Thanks for the suggestion.
03-11-2016, 02:48 PM   #13
Veteran Member




Join Date: Oct 2006
Location: Chicago suburb, IL, USA
Posts: 1,535
Hi alamo5000,

I'd suggest that you look into Jpeg Mini. It's a program that was developed to give you much smaller jpeg files without much loss of IQ. You can get their free version which allows you to process up to 20 images per day, or buy their full version. With this, you can develop your RAW files, and downsize them appropriately for website display at whatever specified pixel count dimensions, convert this to lowest compression (highest quality) jpegs, then recompress them with jpeg mini to reduce the file size further to save bandwidth without sacrificing much IQ. I've recently discovered this and am impressed. When an algorithm is developed for maximum compression with the least IQ loss, some amazing things can be done.

JPEGmini - Your Photos on a Diet!

Scott
Reply

Bookmarks
  • Submit Thread to Facebook Facebook
  • Submit Thread to Twitter Twitter
  • Submit Thread to Digg Digg
Tags - Make this thread easier to find by adding keywords to it!
camera, export, file, image, jpeg, method, photography, photoshop, resolution, tiff, time
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads
Thread Thread Starter Forum Replies Last Post
645 shutter release button stopped compressing mid roll - troubleshooting w/ no luck birdgirl55 Pentax Medium Format 3 11-16-2015 10:15 PM
Compressing Images Tomzee93 Digital Processing, Software, and Printing 3 05-19-2011 03:16 AM
Reducing/compressing images after taking shinhopple Troubleshooting and Beginner Help 5 06-14-2010 08:52 AM
Compressing digital photos albatross Digital Processing, Software, and Printing 14 01-17-2010 12:42 AM
Compressing JPEG images - HELP! Photogoof Digital Processing, Software, and Printing 4 01-18-2008 04:55 PM



All times are GMT -7. The time now is 04:16 PM. | See also: NikonForums.com, CanonForums.com part of our network of photo forums!
  • Red (Default)
  • Green
  • Gray
  • Dark
  • Dark Yellow
  • Dark Blue
  • Old Red
  • Old Green
  • Old Gray
  • Dial-Up Style
Hello! It's great to see you back on the forum! Have you considered joining the community?
register
Creating a FREE ACCOUNT takes under a minute, removes ads, and lets you post! [Dismiss]
Top