Webmaster Forum


Go Back   Webmaster Forum > Web Development > Digital Photography Forum

Digital Photography Forum Focuses on digital photography from a web development standpoint, such as tips for better product photography, lighting, optimizing photographs for web use, best digital camera choices, etc. Additionally, we encourage you to show off your personal shots!


Reply
 
LinkBack Thread Tools Display Modes
Share |
  #1 (permalink)  
Old 02-09-2012, 07:53 PM
Junior Member
 
Join Date: 01-06-11
Posts: 15
iTrader: 1 / 100%
Picture compression

I have a bunch of very large image files. Should I resize them before I compress them? Should I compress them before I resize them? What is the standard picture size and compression? I want them to load quickly and look good to the search engines.
 
Reply With Quote
  #2 (permalink)  
Old 02-09-2012, 08:04 PM
HTMLBasicTutor's Avatar
Super Moderator
 
Join Date: 10-29-07
Location: British Columbia, Canada
Posts: 18,057
iTrader: 5 / 100%
You could start with reducing the DPI to 72. This is all you really need on the web. By doing that the actual picture size and picture file size will be reduced.

What kind of pictures are we talking about?
__________________

HTML Basic Tutor - Learn how to code for better SEO
Basic Computer Information - Computer & internet basics for website owners

SEO troubleshooting and review services available. - Pm me.
 
Reply With Quote
  #3 (permalink)  
Old 02-09-2012, 08:13 PM
Junior Member
 
Join Date: 01-06-11
Posts: 15
iTrader: 1 / 100%
I mean, like what should the image size be in terms of MB or KB?

And what are good picture dimensions for web display?
 
Reply With Quote
  #4 (permalink)  
Old 02-14-2012, 06:16 AM
stone's Avatar
Contributing Member
 
Join Date: 03-28-06
Location: Macon GA USA
Posts: 213
iTrader: 0 / 0%
Quote:
Originally Posted by dreamlife789 View Post
I mean, like what should the image size be in terms of MB or KB?

And what are good picture dimensions for web display?
This question is way too general. There's no correct answer.

I run my pictures through irfanview, and after resizing them specific to where I want to use them... irfanview optimizes them when saving, according to the quality I set.

When I post to my tumblr, I may save the pictures as large as 1000 px! More often, I set at 700 px... when looking at the pics on photoset (carousel) the entire pic shows up...

If I was going to post here, 200 px might be enough.

If I had a 200 px picture, I might be able to get the size down 10 kb or smaller...

In checking my 700 px pics, I notice that they range from 70 kb to below 40 kb.

We want a smaller sized image, because it will load faster, but an image that's been set at a resolution that leaves you guessing at what you are looking at... May as well not even bother.
 
Reply With Quote
  #5 (permalink)  
Old 02-14-2012, 07:17 AM
ScriptMan's Avatar
Super Moderator
 
Join Date: 02-10-07
Location: Central Kentucky
Posts: 10,077
iTrader: 4 / 100%
I follow the rule of crop first, resize second and compress last. Quality comes from starting with the original image each compression costs some quality so tis better to only do it once.

Using PS, irfanview or pixresiser a quality level of 50% will be fine for almost all web purposes. For posting at a photography site a tad bit higher quality might be desired.

Somehow I have hunch that HTML's answer may work better but I don't fully understand how to do that so I stick with what I know.
__________________
SEO does not mean Spam Everywhere Online
Scriptman's Playhouse || Ramblings from an old man
2013 resolution: Don't feed trolls
ScriptMan
 
Reply With Quote
  #6 (permalink)  
Old 02-14-2012, 09:33 AM
HTMLBasicTutor's Avatar
Super Moderator
 
Join Date: 10-29-07
Location: British Columbia, Canada
Posts: 18,057
iTrader: 5 / 100%
Quote:
Originally Posted by ScriptMan View Post
Somehow I have hunch that HTML's answer may work better but I don't fully understand how to do that so I stick with what I know.
Quote:
Originally Posted by HTMLBasicTutor View Post
You could start with reducing the DPI to 72. This is all you really need on the web. By doing that the actual picture size and picture file size will be reduced.
Depending on how your camera is set up,
The images imported from the camera have a large size (dimensions) and a high number of DPI.

If you change the DPI down to 72 the graphics program proportionally reduces the image size (dimensions). From there you can continue your edits.
__________________

HTML Basic Tutor - Learn how to code for better SEO
Basic Computer Information - Computer & internet basics for website owners

SEO troubleshooting and review services available. - Pm me.
 
Reply With Quote
  #7 (permalink)  
Old 02-14-2012, 10:21 AM
Contributing Member
Latest Blog:
None

 
Join Date: 01-06-12
Location: Jackson Mo
Posts: 244
iTrader: 0 / 0%
Quote:
You could start with reducing the DPI to 72.
DPI is a derived hard-copy concept, it has no use on the web or effect on photo file sizes. File size is only effected by the total number of pixels and compression type.

For best results, all editing should be done at the original file size and stored in a non-loss compression format (TIFF, JPG with compression turned off, etc). Then resize the the image and compress. In general, you want the resized image to match dimensions with the images used on the webpage. So if the page is displaying a 720x480 image, you should resize the photo to 720x480. IF you have the storage space, you may even want several different sizes of the same photo, for use in different location on a site.

On compression: the higher the compression level the more data that is removed from the photo and the fuzzier the result. For photos jpg tend to work the best. But for graphics, look at gif and png file types.
__________________
HouseViewOnline: Real estate for Cape Girardeau, Jackson, Festus and St. Louis.
 
Reply With Quote
  #8 (permalink)  
Old 02-14-2012, 10:28 AM
Contributing Member
Latest Blog:
None

 
Join Date: 01-06-12
Location: Jackson Mo
Posts: 244
iTrader: 0 / 0%
An additional point: you can reduce the processing requirements of photo edits by resizing and cropping first. There will be some decrease in the quality of the ending images, but the trade off may be worth it.
__________________
HouseViewOnline: Real estate for Cape Girardeau, Jackson, Festus and St. Louis.
 
Reply With Quote
  #9 (permalink)  
Old 02-14-2012, 11:03 AM
ScriptMan's Avatar
Super Moderator
 
Join Date: 02-10-07
Location: Central Kentucky
Posts: 10,077
iTrader: 4 / 100%
@HTML I will open one up and play a little later in the day. I must say PS is the most expensive program I ever bought with mostly worthless help files.
__________________
SEO does not mean Spam Everywhere Online
Scriptman's Playhouse || Ramblings from an old man
2013 resolution: Don't feed trolls
ScriptMan
 
Reply With Quote
  #10 (permalink)  
Old 02-14-2012, 07:27 PM
Contributing Member
Latest Blog:
None

 
Join Date: 01-06-12
Location: Jackson Mo
Posts: 244
iTrader: 0 / 0%
Scriptman, what are you trying to do. I'm pretty good with PS.
__________________
HouseViewOnline: Real estate for Cape Girardeau, Jackson, Festus and St. Louis.
 
Reply With Quote
  #11 (permalink)  
Old 02-15-2012, 04:14 AM
ScriptMan's Avatar
Super Moderator
 
Join Date: 02-10-07
Location: Central Kentucky
Posts: 10,077
iTrader: 4 / 100%
Reset the DPI per above as a test. I have done it before. I just need to recall where it hides. I use PS6. I figure learning it will keep me entertained until I am too old to care.

I got sidetracked yesterday into updating some static html files. I am going to play with PS this morning while waiting for the coffee to kick in.

Edit: Okay I played and now I am confused. Actually stating to think the post above that said DPI has no bearing on anything but print size is correct.

I loaded a 3872 x 2592 jpg file (2.72 MB) and PS automatically was 72 DPI. @ 72 DPI the print size was 54 x 36. Now maybe my problem is that I don't do raw files because there is no codec for PS6 for DNG and whatever the Pentax format is called. My little Cannon does TIFF if I want. Nothing but the print size was affected when I entered various DPI numbers.

I know I have opened PSD files that were higher than 72 DPI so maybe the jpg affects the setting that PS uses as a default?
__________________
SEO does not mean Spam Everywhere Online
Scriptman's Playhouse || Ramblings from an old man
2013 resolution: Don't feed trolls
ScriptMan

Last edited by ScriptMan; 02-15-2012 at 04:46 AM.
 
Reply With Quote
  #12 (permalink)  
Old 02-15-2012, 06:21 AM
Contributing Member
Latest Blog:
None

 
Join Date: 01-06-12
Location: Jackson Mo
Posts: 244
iTrader: 0 / 0%
To reduce the image size in photoshop go to Image->Image size (Ctrl Alt I).
Picture compression-compression_1.jpg

Since this is for the web, we will use the "Pixel Dimension" box. Set the height and width to match the size you are using on the webpage. Since I have the "Constrain Proportions" option checked, the height to width ratio will remain constant. Also since this is a reduction, select the "Bicubic Resharper" resizing option. After changes the pop up should look similar to this:
Picture compression-compression_2.jpg
Note the size reduction. Click ok when done.

A second option is the Save for web devices feature. It can be found at File->Save for web devices (Alt Shift Ctlr S). This will give you the chance to change the image size, the compression format and preview the effects before saving. The screen shot below shows the original image, max, min, and 50% jpg compression.
Picture compression-compression_3.jpg
Look along the top the heads to see the effects of compression. Below each image is the new files size and the upload time. You can change the download speeds that is used to calculate the times. To save, click on the image you like and hit "Save"
__________________
HouseViewOnline: Real estate for Cape Girardeau, Jackson, Festus and St. Louis.
 
Reply With Quote
  #13 (permalink)  
Old 02-15-2012, 07:48 AM
ScriptMan's Avatar
Super Moderator
 
Join Date: 02-10-07
Location: Central Kentucky
Posts: 10,077
iTrader: 4 / 100%
Nice post! For web quality they all look about the same. I could not read that tiny print. What were the different compression factors?
__________________
SEO does not mean Spam Everywhere Online
Scriptman's Playhouse || Ramblings from an old man
2013 resolution: Don't feed trolls
ScriptMan
 
Reply With Quote
  #14 (permalink)  
Old 02-15-2012, 07:59 AM
Contributing Member
Latest Blog:
None

 
Join Date: 01-06-12
Location: Jackson Mo
Posts: 244
iTrader: 0 / 0%
Original - 1.1M

100 - 3.86.8K, 138 sec @ 28.8 kbps
50 - 63.6k, 24 sec @ 28.8 kbps
0 - 17.97k 7 sec @ 28.8 kbps.

This is the max, min and middle settings that are possible in photoshop.
__________________
HouseViewOnline: Real estate for Cape Girardeau, Jackson, Festus and St. Louis.
 
Reply With Quote
  #15 (permalink)  
Old 02-15-2012, 08:14 AM
Contributing Member
Latest Blog:
None

 
Join Date: 01-06-12
Location: Jackson Mo
Posts: 244
iTrader: 0 / 0%
So you can better see the effects of compression. Here are the images at different levels of compression. Each is at 720x580, with optimization set ON.

Max Quality (100)
Picture compression-p100.jpg

Middle (50)
Picture compression-p50.jpg

Low Quality (0)
Picture compression-p0.jpg

Look at the differences in the fur and at areas were colors change. Also look for colors being more in blocks then natural fading between the colors and textures.
__________________
HouseViewOnline: Real estate for Cape Girardeau, Jackson, Festus and St. Louis.
 
Reply With Quote
  #16 (permalink)  
Old 02-15-2012, 08:36 AM
ScriptMan's Avatar
Super Moderator
 
Join Date: 02-10-07
Location: Central Kentucky
Posts: 10,077
iTrader: 4 / 100%
At the full 720x580 one can see a difference but unless it for a photography site or thread don't you agree that the middle (50) is entirely adequate quality for most web images?

For something like 1/6 the space, bandwidth and DL time I think it is the place to be. The 0 one looks really sharp compared to some of the images you will find on some of the news sites.

I am just saying that the average reader does not spend that much time looking at the details.

Tell me what you think.
__________________
SEO does not mean Spam Everywhere Online
Scriptman's Playhouse || Ramblings from an old man
2013 resolution: Don't feed trolls
ScriptMan
 
Reply With Quote
  #17 (permalink)  
Old 02-15-2012, 08:42 AM
Contributing Member
Latest Blog:
None

 
Join Date: 05-30-10
Location: India
Posts: 353
iTrader: 0 / 0%
I think super moderator is right here.
 
Reply With Quote
  #18 (permalink)  
Old 02-15-2012, 08:47 AM
ScriptMan's Avatar
Super Moderator
 
Join Date: 02-10-07
Location: Central Kentucky
Posts: 10,077
iTrader: 4 / 100%
Quote:
Originally Posted by jayrudalf View Post
I think super moderator is right here.
Flattery won't get you anything.

There is no really right or wrong answer but tell me in a little detail why you thing I might be right.
__________________
SEO does not mean Spam Everywhere Online
Scriptman's Playhouse || Ramblings from an old man
2013 resolution: Don't feed trolls
ScriptMan
 
Reply With Quote
  #19 (permalink)  
Old 02-15-2012, 09:21 AM
Contributing Member
Latest Blog:
None

 
Join Date: 01-06-12
Location: Jackson Mo
Posts: 244
iTrader: 0 / 0%
For general use, you can even go a little less than the 50. A 40 or 35 setting should work.

The biggest issue, is to keep browser resizing to a min. If the browser has to reduce the image, you are spending time sending discarded data. If the browser has to increase the size, the image will be fuzzy.
__________________
HouseViewOnline: Real estate for Cape Girardeau, Jackson, Festus and St. Louis.
 
Reply With Quote
  #20 (permalink)  
Old 02-15-2012, 12:27 PM
ScriptMan's Avatar
Super Moderator
 
Join Date: 02-10-07
Location: Central Kentucky
Posts: 10,077
iTrader: 4 / 100%
I never resize in the browser. It is a complete waste of resources.
__________________
SEO does not mean Spam Everywhere Online
Scriptman's Playhouse || Ramblings from an old man
2013 resolution: Don't feed trolls
ScriptMan
 
Reply With Quote
Go Back   Webmaster Forum > Web Development > Digital Photography Forum

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
GIF Compression _Dynasty_ Graphic Design Forum 5 02-29-2012 06:49 AM
I need open source or free for commercial use picture (1 picture from criss angel) m0rt3za Graphic Design Forum 1 08-21-2011 08:25 AM
Compression, is it woth it? csu Web Design Lobby 2 01-11-2011 11:09 AM
Image Compression PlayGamesArcade SEO Forum 0 04-28-2010 03:25 AM
PNG compression Fusion Graphic Design Forum 11 05-07-2004 06:42 PM


V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 06:38 AM.
Powered by vBulletin
Copyright © 2000-2013 Jelsoft Enterprises Limited.
Copyright © 2003 - 2013 Escalate Media LP




Search Engine Optimization by vBSEO 3.6.0 RC 2 ©2011, Crawlability, Inc.