Approve the Cookies
This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies and our Privacy Policy.
OK
Forums  •   • New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear
Guest
Forums  •   • New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear
Register to forums    Log in

 
FORUMS Post Processing, Marketing & Presenting Photos RAW, Post Processing & Printing 
Thread started 27 Jan 2006 (Friday) 14:49
Search threadPrev/next
sponsored links (only for non-logged)

script to resize for forums

 
vjack
Goldmember
Avatar
1,602 posts
Likes: 1
Joined Jul 2005
Location: Mississippi, USA
     
Jan 27, 2006 14:49 |  #1

I wrote a script PSCS2 script to resize photos to meet the requirments of this forum, but it isn't getting the pictures quite small enough. Basically, I convert to 8-bit sRGB, resize to 800px, sharpen, and save as jpeg. However, in order to get the file size under 100K, I have to use what seems like a very low quality jpeg. Have any of you written a similar script, and if so, where did you set your compression?



Canon 20D
Canon EF-S 10-22mm f/3.5-4.5 USM
Sigma 18-125mm f/3.5-5.6 DC
Tamron 28-75mm f/2.8 XR Di LD
Canon EF 50mm f/1.8 II
Canon EF 70-200mm f/4L

Canon EF 100-400mm f/4.5-5.6
L IS
Canon Speedlite 430EX
Manfrotto 3021BPRO; Kirk BH-1 ballhead
Canon Pixma 4200
< see my gallery (external link) >

  
  LOG IN TO REPLY
jfrancho
Cream of the Crop
Avatar
6,341 posts
Joined Feb 2005
     
Jan 27, 2006 14:59 |  #2

What about a smaller dimension that would allow you better resolution/quality?



  
  LOG IN TO REPLY
tommykjensen
Cream of the Crop
21,013 posts
Gallery: 6 photos
Likes: 260
Joined Mar 2004
Location: Copenhagen, Denmark.
     
Jan 27, 2006 15:01 |  #3

Do You include EXIF data? That alone takes about 15Kb.


EDITING OF MY PHOTOS IS NOT ALLOWED

  
  LOG IN TO REPLY
vjack
THREAD ­ STARTER
Goldmember
Avatar
1,602 posts
Likes: 1
Joined Jul 2005
Location: Mississippi, USA
     
Jan 27, 2006 15:10 as a reply to  @ tommykjensen's post |  #4

Okay, I'll set it at something like 700 or 750 px and see if that helps.



Canon 20D
Canon EF-S 10-22mm f/3.5-4.5 USM
Sigma 18-125mm f/3.5-5.6 DC
Tamron 28-75mm f/2.8 XR Di LD
Canon EF 50mm f/1.8 II
Canon EF 70-200mm f/4L

Canon EF 100-400mm f/4.5-5.6
L IS
Canon Speedlite 430EX
Manfrotto 3021BPRO; Kirk BH-1 ballhead
Canon Pixma 4200
< see my gallery (external link) >

  
  LOG IN TO REPLY
Moppie
Moderator
Avatar
15,105 posts
Gallery: 24 photos
Best ofs: 1
Likes: 456
Joined Sep 2004
Location: Akarana, Aotearoa. (Kiwiland)
     
Jan 27, 2006 15:16 |  #5

I have a saved action that I use, it resizes and adds USM and has the option of adding a background script with EXIF info in it.
Then I just manualy choose save as, and select the required quality to get the file sizes to where I need it.

The problem with Digital images is the subject has such a huge effect on how big the file will be. A photo of a white wall will be much smaller than a brightly coloured flower garden.
So you either need to set the script to work with your largest file sizes and accept that the smallest will be smaller than they need to be, or stick with manualy changing them.
Of course if your batch processing then it can be a lot easier to choose the former.
And when I have done this I just batch proccess with another action I have which does a Save As.



So long and thanks for all the flash

  
  LOG IN TO REPLY
Robert_Lay
Cream of the Crop
Avatar
7,546 posts
Joined Jul 2005
Location: Spotsylvania Co., VA
     
Jan 27, 2006 23:58 |  #6

It has been my experience that with approximately 800 x 600 pixel virtual image size, it requires a quality setting of 3 - 5 in order to be under 100kB. Unfortunately, there is no way to predict exactly, because jpg files compress more when they contain blah pictures (i.e., pictures with little detail).


Bob
Quality of Light (external link), Photo Tool ver 2.0 (external link)
Canon Rebel XTi; EF-S 10-22mm f/3.5-f/5.6 USM; EF-S 18-55 mm f/3.5-f/5.6; EF 28-135mm f/3.5-5.6 IS USM; EF 50mm f/1.4 USM; Canon Powershot G5; Canon AE1(2); Leica R4s; Battery Grip BG-E3; Pentax Digital Spotmeter with Zone VI Mod & Calibration.

  
  LOG IN TO REPLY
jfrancho
Cream of the Crop
Avatar
6,341 posts
Joined Feb 2005
     
Jan 28, 2006 00:03 as a reply to  @ Robert_Lay's post |  #7

Robert_Lay wrote:
blah pictures

LOL. You're usually a little more descrptive than that! It must be late. :)



  
  LOG IN TO REPLY
vjack
THREAD ­ STARTER
Goldmember
Avatar
1,602 posts
Likes: 1
Joined Jul 2005
Location: Mississippi, USA
     
Jan 28, 2006 08:03 as a reply to  @ jfrancho's post |  #8

You guys are right. I think I'll just do a resize and sharpen action and do the save manually.



Canon 20D
Canon EF-S 10-22mm f/3.5-4.5 USM
Sigma 18-125mm f/3.5-5.6 DC
Tamron 28-75mm f/2.8 XR Di LD
Canon EF 50mm f/1.8 II
Canon EF 70-200mm f/4L

Canon EF 100-400mm f/4.5-5.6
L IS
Canon Speedlite 430EX
Manfrotto 3021BPRO; Kirk BH-1 ballhead
Canon Pixma 4200
< see my gallery (external link) >

  
  LOG IN TO REPLY
Robert_Lay
Cream of the Crop
Avatar
7,546 posts
Joined Jul 2005
Location: Spotsylvania Co., VA
     
Jan 28, 2006 09:56 as a reply to  @ jfrancho's post |  #9

jfrancho wrote:
LOL. You're usually a little more descrptive than that! It must be late. :)

Yeah, you're right - it was about Dark +2 when I wrote that.


Bob
Quality of Light (external link), Photo Tool ver 2.0 (external link)
Canon Rebel XTi; EF-S 10-22mm f/3.5-f/5.6 USM; EF-S 18-55 mm f/3.5-f/5.6; EF 28-135mm f/3.5-5.6 IS USM; EF 50mm f/1.4 USM; Canon Powershot G5; Canon AE1(2); Leica R4s; Battery Grip BG-E3; Pentax Digital Spotmeter with Zone VI Mod & Calibration.

  
  LOG IN TO REPLY
sponsored links (only for non-logged)

1,319 views & 0 likes for this thread, 5 members have posted to it.
script to resize for forums
FORUMS Post Processing, Marketing & Presenting Photos RAW, Post Processing & Printing 
AAA
x 1600
y 1600

Jump to forum...   •  Rules   •  Forums   •  New posts   •  RTAT   •  'Best of'   •  Gallery   •  Gear   •  Reviews   •  Member list   •  Polls   •  Image rules   •  Search   •  Password reset   •  Home

Not a member yet?
Register to forums
Registered members may log in to forums and access all the features: full search, image upload, follow forums, own gear list and ratings, likes, more forums, private messaging, thread follow, notifications, own gallery, all settings, view hosted photos, own reviews, see more and do more... and all is free. Don't be a stranger - register now and start posting!


COOKIES DISCLAIMER: This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies and to our privacy policy.
Privacy policy and cookie usage info.


POWERED BY AMASS forum software 2.58forum software
version 2.58 /
code and design
by Pekka Saarinen ©
for photography-on-the.net

Latest registered member was a spammer, and banned as such!
1596 guests, 118 members online
Simultaneous users record so far is 15,144, that happened on Nov 22, 2018

Photography-on-the.net Digital Photography Forums is the website for photographers and all who love great photos, camera and post processing techniques, gear talk, discussion and sharing. Professionals, hobbyists, newbies and those who don't even own a camera -- all are welcome regardless of skill, favourite brand, gear, gender or age. Registering and usage is free.