Iphoto export quality issues

I notice when I'm working in iphoto lately. When I export photos, no matter how I do it the photos come out with much lower quality as what they are in iphoto.
Example
http://i.imgur.com/XD2Ey.jpg
Photo on the left is the original. The photo in the middle is my work in iphoto and the photo on the right is what is exported.
I never use to have this problem... Anyone with an idea?
Thank you

The orig. file on the left is RAW.
I've just done some editing in the adjust section to the photo (The pic in the middle of the example above) to how I want it.
Export the photo Max quality, full size.
The exported photo looks like much of the agustments I've done in iphoto are missing (eg:Sharpness & Definition).
I just want my photos exported to match what they look like in iphoto with my adjusments.
Thank you for your help

Similar Messages

  • IPhoto Exporting Quality Size dpi etc. etc. Confused?

    Life used to be simple!
    JPEG Quality:
    If I wanted a photo for view on the web or my computer screen, I wanted a resolution of 72dpi (dots per inch)
    If I wanted to it professionally printed, I wanted a resolution of 300dpi, and if I wanted a rough print version for
    my home/business printer then I would probably be OK with 150dpi.
    Now I can export from iPhoto as JPEG and I am no longer given the resolution options (72 or 150 or 300dpi etc.)
    but rather the options for JPEG Quality ARE: Maximimum, High, Medium and Low [unhelpfully referred to as "Smallest size" what else would it be?]
    Whatever choice I make appears to make no difference to the visual quality of the picture on screen, but makes a heck of a
    difference to the file size AND gives me NO help on what the resolution of the resulting picture is.
    0. This would lead me to believe that I should choose Low for ALL web or computer screen uses - as this will result in the
    smallest possible file size - which in turn will reduce loading speeds for websites. Is this correct?
    Unhelpfully, the iphoto Manual does not explain what these Quality Options mean and therefore I have no idea why or when I should
    choose one over another.
    1. Can someone out there who really knows their stuff, demystify this for me ?
    What do these Quality Options mean, what dpi is assigned to each, and why and when should I coose one over another?
    Maximimum
    High
    Medium
    Low
    JPEG Size:
    This is confusing. If I know that for a particular use I need a particular size photograph (height vs width), I edit it in
    iPhoto to the height/width that I need. For example, in the gallery I am using in Rapid Weaver, the designer suggests
    a good size for  one particular design's revolving banner photos is 980 wide by 656 high - and I am assuming that these are pixel dimensions.
    My photos from various sources are inevitably greater than this - and in some cases I might want to re-frame a portrait
    photo into a landscape shape. To do this I use the Edit and Crop facility in iPhoto. And I make sure that the photo is edited to
    the dimensions I want first.
    iPhoto retains the full size photo in it's library, and I can always get it back after cropping if I wish
    (by duplicating and reverting to origonal). However once cropped, it helpfully appears to EXPORT the cropped size.
    The EXPORT function allows me to chose a JPEG's Size (by which I assume it means pixel width vs height)
    2. Can someone tell me the exact effect/meaning of choosing any one of the following - in other words what do these mean or
    put another way what pixel size am I choosing for:
    Small
    Medium
    Large
    Full Size
    3. And am I choosing just the Height size or the Width size and what happens to the other dimension? And how does it
    decide? And what are the Heigh or Width sizes allocated to these rather odd choices (Small, Medium, Large, Full Size.)
    4. I am assuming that Small must equal a specific Width for a landscape photo, and in that case does it keep the height as it was, or does it constrain the proportions on the basis of the Width it has allocated to Small?
    There is a fifth option, but again, it is unclear as to what exactly it does, and I would like help here too! (Sorry, but this is driving me demented!)
    Custom
    Within Custom, I have three choices:
    Width
    Height
    Dimensions
    5. What happens to the Height if I define the Width option? Or similiarly, what happens to the Width if I define the Height option?
    6. What on earth does Dimensions mean when it only gives me one dimension to define?
    Will it try and make a portrait picture square for example? Is it editing here?
    Sorry this is so long, but I would really like to NAIL this - and I suspect I am not the only one!
    All I am trying to do is to create the optimized output for the purpose I intend to use a picture for - really simple  - or is it?
    Thanks to anyone who can have a go at this..... Michael

    OK I've got it! - Thanks a thousand - and for anyone who wants a Quick Summary, here it is:
    1. Cropping a photo in iPhoto sets the Aspect Ratio
    Despite what it appears to do, cropping a photo in iPhoto does not affect the photos’s height or width. It does affect it’s Aspect Ratio - or shape (for example 6 x 4 ), and what is visible within that shape - but not the width or height. Note the absence of inches or cm or meters there. It also affects the content of the picture - or rather which area of the picture is visible (which is the ‘cropped’ area).
    So it is OK to Crop the photo in iPhoto, but this should not be confused with the idea that you are cutting the photo into a specific dimension (width or height) - to do that you need the Export facility in iPhoto where you choose a JPEGs Size.
    2. JPEG Size
    Once the Aspect Ratio is determined (the shape) of the visible area of the picture - the Custom Size Option in the Export Facility can be used to select either the Width or the Height. Obviously if you chose the width, then that measurement will pre-determine the height as iPhoto will calculate the height needed to retain the Aspect Ratio you have set when you cropped it.
    If you don’t crop, it will calculate based on the initial Aspect Ratio (shape) of the original photo.
    Full Size is exactly that: the image at the dimensions imported from the camera. The others allow you to scale the image. Each reduces the size by about 33% or thereabouts.
    Full Size = 100% of the Imported from the camera Dimensions
    Large = 66% of the imported Dimensions
    Medium =  44% of the imported Dimensions
    Small = 29% of the imported Dimensions
    As a rule of thumb a 3000 x 2000 (approx) image will reduce to 640 x 480 with the Medium setting
    Thumbnails can be generated using the Export and then Web Page function, rather than the File Export function.
    Otherwise, you can use the Custom setting  to specify an Exact width or an Exact height (and of course the Aspect Ratio will determine the other dimension NOT specified.)
    3. JPEG Quality
    JPEG Quality is setting the compression of the file which will affect the file size (not the picture Dimensions or the Aspect Ratio), but it will also affect the Quality of the visual image. So here you are seeking to minimise the file size while not losing acceptable visual quality.
    Which you choose depends on what you're using the image for... Web site? Start at Low and work from there, if the quality is poor or visually unacceptable, choose a higher quality.
    If you are Archiving go for max. The rest - trial and error...
    4. For a deeper understanding of these issues
    1. Read the thread below AND/OR
    2. Take a look at this: The Myth of DPI. AND
    3. This: https://discussions.apple.com/docs/DOC-4921
    Clarity Rules! - And  many many thanks to Terence Devlin for the lesson...

  • Preview Monitor and Exporting Quality Issues

    Hello, in a previous life I was a video editor from the world of Avid and I just picked up Premiere for an emergency side mission at my current place of employment and I have run into a couple issues with CS4.
    1. The preview monitor for the Sequence displays a lower quality of the video that comes from the uploaded Clip and it also does not play back at a steady frame rate. However, when I look at the Clip in the secondary preview monitor that is reserved for clips, titles, etc, the video quality is as high as what is expected. How do get the sequence monitor to playback at the quality the clips are uploaded as and how do I get the playback to do so at a steady 30fps?
    2. My exporting experience was based around dubbing directly to Beta tapes and I never really had to do any digital file exporting. I need some tips on what to export a Sequence as that will retain a high amount of the quality while also keeping the file size to what will fit on a disk. The video length in this case would never be more than 5 minutes as I am only working on sales videos. Also, the file needs to be playable in Windows Media Player.
    Thank you in advance for any help on these issues.

    Please provide
    these details to help us help you.
    Cheers
    Eddie
    PremiereProPedia   (
    RSS feed)
    - Over 300 frequently answered questions
    - Over 250 free tutorials
    - Maintained by editors like
    you
    Forum FAQ

  • Lightroom's Slideshow Module export quality issue

    When I export a slide show, the resulting quality of the photos in the pdf is much below that of the photos I see in the Library module. There is a high degree of aliasing (jagged edges) and if I export the slide show at less than 100% quality or at a screen size smaller than my client's, the pixelization renders the slide show useless.
    I am using a Mac with the latest OS with a 256mb video card, 2GB RAM, and plenty of harddrive space.
    I have confirmed with two other experienced photographers that this is also happening with them.
    I have resorted to using Fotomagico as a slideshow software vs. Lightroom for the results from Lightroom are too unprofessional to show my clients.

    Pat,
    I just checked my slideshow output and it looks good. I can only suggest [and you probably have tried all of these: 1] Make sure your photos look good to start, high res etc. 2] make sure you have the latest Adobe Acrobat Reader [8 I believe] 3] restart LR [I hesitate to even say this]
    Beyond that I don't have much to offer.
    Good luck
    Mel

  • Exporting Quality Issue

    I've read on here that I should export using the Export To Quicktime option if planning to burn to DVD. But Exporting To Quicktime gives a really bad final quality. I get much better quality by using the Quicktime Conversion mode. But, of course, it takes a lot longer. Is something not set up correctly for me to get inferior quality by exporting to quicktime?
    I'm using FCE 4.

    Give exact details of the format of the video and also exactly how you are capturing it, editing and exporting to QT.
    Is it HDV, DV, AVCHD or something else?
    What do you mean by bad quality? ...... Blurred, grainy, juddering etc.?
    Message was edited by: Ian R. Brown

  • Export quality issues

    When I export from Lightroom 4 my image quality changes dramatically between the Lightroom image and the exported image. I have my export settings at 1500x1500 and 240 pixels per inch. Any ideas on how I can keep the exported image the same as the one in lightroom

    I don't know if you can see the difference between the two, where I really saw it was when I opened the exported image on a larger PC screen. I do my editing on a Mac screen, but when I opened the picture on the larger screen it was very grainy in the front person's face and you could see where I used the brush around his head, which you can't see in either of these images. Here are my other settings

  • Quality Issues on Export

    I'm having a heck of a time with this. I'm shooting with a Sanyo Xacti, whose native format is MP4 burned to an SD card. Since FCE won't handle these files directly, I'm transcoding to DVCPRO50 with MPEG Streamclip.
    I bring these into FCE and everything works fine. But the export quality out of FCE is pretty awful, no matter what I do. I've tried about all the export options in all sizes. None of them are even close to the orginal MP4 quality. (They're shot in 640X480SHQ
    If played in QuickTime, the DVCPRO conversions look terrific. iMovie seems to do a better job with these files.
    Any suggestions?
    Paul

    Unfortunately, your example is still queued.
    edit_
    Format: MPEG2
    Range: Entire Sequence
    Preset: custom
    Now, my question: is this your Project Preset, or more likely your Export setting? It appears that you are using the AVI (uncompressed from AE) as your source material. Is this correct? What is the Field Dominance of your Imported AVI? What is the Field Dominance of your Exported MPEG-2?
    Your issue sounds like a Field Dominance/Order problem. Per the other question, you are in PAL-land, right?
    If needed, you can run all files through G-Spot to get info on their Field Dominance/Order. This would be the first thing that I would look into. If you have, and all is fine, then ignore my comments. We'll just wait until your example makes it out of queue.
    Good luck,
    Hunt

  • IPhoto export photo quality

    Is there a way to manually dictate the JPG image quality upon iphoto export to web? The images the automatic web portfolio is very poor. Quality 5 at best.
    There must be a way to hard set this export feature.

    There are two quality levels involved when you add iPhoto photos to an iWeb photo page: 1 - the quality of the image used for the iWeb slideshow presentation and that of the file provided for download from that site. Which are you concerned with?
    What's the URL of your site so we can examine the photos first hand? Also what are the pixel dimensions of the photos that you are transferring to iWeb?
    OT

  • IPhoto exporting issues, doesn't keep color settings?

    I have a weird problem.
    If I export a picture from iPhoto, the resulting file doesn't look the same way as the original. At least not in Firefox and other web browsers (IE?). It DOES look like the original in iPhoto, Preview and Safari though.
    Here's an example; Original in iPhoto, export in Preview and Firefox are the same file:
    http://bp1.blogger.com/N0GLS5q5xhE/RaqWJdh4QtI/AAAAAAAAAM0/qS-3XnI3CM/s1600-h/screen.jpg
    You can clearly see that the Firefox view is more pale.
    Latest version of iPhoto.
    Tried both with NEF raw and jpg as originals.
    Ideas?
    Regards,
    Mattias.
    MacBook Pro 15" Mac OS X (10.4.6) 2 GHz

    Keihan
    That's a question for the Firefox people really. The profiles are attached, that's why the pic looks the same in iPhoto Safari and Preview. It's a case of getting Firefox to respect them.
    Regards
    TD

  • Quality Issues

    Hey -
    So I have iMovie 09 and then found out it has really crappy quality issues. So I came to iMovie 06 to start working with stuff. I decided to try putting in 4 photos and sharing them with iDVD to test it out. I haven't actually burned them but the preview of iDVD and in iMovie makes the photos look a lot more crappy than they actually are. I'm able to make those photos full screen 1440x900 without really having pixelated features. Yet, iDVD when it's just taking up a minimal amount of the screen has all the pictures pixelated (along with iMovie)
    I have iMovie set to the highest quality, iDVD set to professional quality, rendered all the pictures in iMovie before exporting, and have the frame rate at 30 fps.
    Any suggestions would be greatly appreciated.

    "rendered all the pictures in iMovie before exporting"
    That's likely the problem. iMovie does a terrible job of rendering. So, if you use the share function, ignore the prompt that asks if you want iMovie to render, and instead chose to proceed anyway without rendering. iDVD then will render your photos and it does a much better job of it.
    Also, the previews in iMovie and iDVD are low res. The burned project should be much sharper.
    Rather than using the share function, I find it best to simply save and close the iMovie project, and then drag the iMovie icon (the one with the star on it) into the edge of the window of your iDVD project main menu, being careful not to put into a drop zone. The movie or slideshow will then import right in to iDVD.

  • Why is export quality HORRIBLE? FCP 7.3

    Why can't I export a .mov quicktime movie from FCP 7.3 that looks EXACTLY like the image I get when playing the footage in the timeline?
    These are my 2 biggest quality issues that I can't find a way to surmount:
    1. Interlacing.  Yes, I shot interlaced - bad idea, never will do it again.  But in FCP, viewed at full screen, the footage is beautiful - no interlacing artifact at all.  Once exported, it looks horrible. Please  no comments about "just choose 'deinterlace' when exporting." This  seems to horribly degrade the quality (see below) and it doesn't deinterlace it anyway at the same resolution as I'm viewing it in FCP - you have to scale the quality down from 1080i to 720p before the interlace artifact in the exported file is gone. And even then, the quality is much worse than 720p should be (see below).
    2. Saturation/bit depth/color quality: Once exported - no matter what quality I choose and no matter whether I check 'deinterlace' or not - the color goes down the drain once exported.  It looks pathetic. Oversaturating the image before exporting in hopes of a correct saturation by the time it's exported does not work. The image is simply very, very washed out once exported.
    Bottom line: If the footage looks beautiful IN final cut, viewed at full screen, we KNOW it can look beautiful OUT of final cut, viewed on the same screen.  How is this accomplished?
    A few technical details:
    Footage specs:
    Shot in 59.94i, 1080
    AVCHD
    .MTS
    Imported RAW into FCP using Log and Transfer.
    Once ingested into FCP (using default ingest settings):
    29.97i
    1920x1080
    Upper (odd) field dominance
    Square pixel aspect ratio
    Apple prores 422
    Export specs:
    Compressor: H.264
    Frame rate: Current
    Keyframes: Automatic
    Data Rate: Automatic
    Frame recording: Unchecked
    Quality: Best (multipass)
    Encoding: Best quality
    Export size settings:
    I have tried all of the following settings, each with 'deinterlace' checked AND unchecked, respectively.  And each with bad results:
    1920x1080
    1600x900
    1280x720
    and other sizes of 16:9
    Any ideas on this is HUGELY appreciated.

    Thanks for all the great input everyone.
    To your questions:
    Jason: I'm using QT 7.7. 
    Michael:  Very helpful thoughts.  I did export using quicktime instead of QT conversion and it looks identical - no problem....when viewing the exported file with FCP.  When viewing it with QT 7.7, with the settings suggested by David, it's the same old crap I've been gettng all along.  I"m new to Compressor and I'm using version 3.5.  Can you advise a specific workflow for using Compressor here?  As far as customizing QT for FCP color, I assume you mean the option in the Preferences 'Enable final cut studio color compatibility'.  This is the only setting I see of relevance...
    Russ - Final cut pro DOES accurately show image quality.  At full screen view, my footage looks great in FCP.  If it can look greatin FCP, it should be able to look great OUT of FCP.  The question is just how to use the best compression setting to get the export file size down without sacrificing all that quality.... I'm judging by the monitor because I'm shooting for monitor end-viewership, not TV.
    Bottom line - sounds like Compressor is the way to go.  If someone could give me some pointers on Compressor workflow with this situation, that would bed awesome. I've never used the program before - 'export using QT conversion' in FCP has always been sufficient up until now.
    Many, many thanks!

  • Image quality issues in PS - word to PDF

    Hi,
    I am having major image quality issues when trying to make my word document a clean, clear PDF. Images become distorted. Borders for tables and text that are equal px size look like they are different sizes throughout the document.
    I have searched the internet, read help, and tried many different things:
    Word 2007 - Changed image %, image size, export options, adjusted px for borders, used different styles
    Acrobat 9 Pro - Changed import settings, import options, print options, tried press quality, high quality, etc.
    Photoshop CS4 - Changed ppx, file format, compression options
    What can I do to get a clean, clear PDF file with the images and borders preserved?
    Thank you.

    In converting a MS Office file to PDF, Photoshop cannot help in any way and will likely cause more harm as it may rasterize vector data. Expect your ideal answer in the Acrobat forum.

  • Quality issues with slideshows

    Hi,
    I'm a long term user of PE v9 (basic editing & burning of home vids & slideshows), but I've just bought a new computer & upgraded to Photoshop & PE v11.
    The first slideshow I created (created in Photoshop & exported to PE for adding music, titles etc) had a lot of issues:
    Some of the photos were rotated 90 degrees & stretched (which I noticed & cut out prior to burning), but more importantly,
    The end product once burned to DVD is of terrible quality.
    I seem to recall that when I first set up PE 9 I set a project quality standard that all future projects would follow unless I changed it.  I've looked everywhere in PE 11 & I can't find where this is set.  I'm not overly technical and I'm out of ideas re: where to look to fix these quality issues.
    Can anyone help?
    Thanks,
    Cozzie.

    Hi Apple Miga,
    I've spent literally hours on this trying all sorts of combinations of settings and ways & means of initiating a slideshow.  To my surprise & absolute elation, I finally had a partial win late last night.  I finally got the quality of the slides to be as good as I've been getting for years with PrE v7.  I haven't been able to work out the rotation & stretching of some photos yet, but I'm at least I've got good quality on the photos that didn't rotate (which is the bulk of them).
    Here's what I did, triggered by a comment above by VDOSurfer (thankyou VDOSurfer).  I had actually already tried setting the project settings to DV-PAL (instead of AVCHD-PAL which I'd been using successfully with PrE v7) a couple of times with the same poor results, but I tried it again in a different order as follows:
    Open PrE11.
    Select 'New Project' (ie not existing project)
    Once the new project opens up, select File, New Project (from the file menu at the top of the screen)
    Click on 'Change Settings' at the bottom of the dialog box.  I noticed here that my settings were always defaulting to NTSC/AVCHD 1080p60.  So I changed this to PAL/DV Widescreen 48kHz (I live in Australia, so if you're in the US, I guess you'd select NTSC/DV Widescreen 48kHz).
    Click on the checkbox 'Force selected project settings on this project'.
    Click on Add Media
    I added my slideshow from Photoshop because I'd already prepared it in that product, but you should be able to add it from wherever your photos live.
    Click on Publish+Share, select DVD & Disk, ensure PAL_DOLBY_Widescreen DVD is selected.  (If you're in the US, this would be NTSC).
    Burn as normal.
    This worked very well for me.  Hope it helps.  Please let me know how you go.
    If anyone has any thoughts on how to stop the random rotation & stretching, I'd love to hear.  Note that photos that are rotated & stretched start off in the correct rotation in Photoshop Elements v11 prior to exporting to PrE 11.
    Thanks,
    Cozzie.

  • Quality issues with IDVD solved

    Hi All
    RE. Best looking IDVD playback.
    May this help all those stuggling with quality issues with perfect looking Qtime files encoded by IDVD coming out looking crap.
    Simply this: instead of exporting your media from your FCP timeline in H.264 - instead select Motion JPEG A. This is found under your setting options in your Qtime movie/settings export window.
    Your files will export much, much faster than Apple's default setting of H.264, you will also get very smooth playback wihtout any jaggies or nasty artifacts. Files are a larger but, hey, it just looks great.
    Let me know if this works for you - it took me ages to figure this out!
    Best regards
    PostGuy40
    Imac 2.16Ghz intel dual core   Mac OS X (10.4.8)   17"

    Good info. I'll keep this in mind next time.

  • Image Quality issue with script

    So I recently wrote a simple script to output an image at a bunch of different resolutions. However, I am running into an image quality issue that I don't run into when I do the same thing manually.
    Here is an example image showcasing the image: http://terminalvelocity.ca/temp/notworking.jpg
    As you can see along the top of the model's forhead there is destinct color fragmentation. Which seems very strange.
    Here is the script, it is pretty simple, it asks for a few simple config options. (the above image was created using default settings). It then figures out the correct ratios and loops through doing each resize, saving the image, then reverting the history so each iteration uses the original image data and not the resized version:
    doc = app.activeDocument;
    openFilePath = Folder.selectDialog ("Where do you want the images to be saved?");
    maxSize = Number(prompt("What would you like to be the maximum length of the long edge? (Image is never upsized) (pixels)", 2800)); 
    minSize = Number(prompt("What would you like to be the minimum length of the long edge? (pixels)", 100));
    gap = Number(prompt("How much smaller should each image be? (pixels)", 100)); 
    quality = Number(prompt("What quality would you like the JPG exported as (0-12)", 10)); 
    var size;
    var primary;
    var secondary;
    if(doc.width > doc.height){
              primary = doc.width;
              secondary = doc.height;
    }else{
              primary = doc.height;
              secondary = doc.width;
    var ratio = secondary/primary;
    var size = [];
    for(var i = maxSize;i>minSize;i-=gap){
              var  p = i
              var s = i * ratio;
              size.push([p,s]);
    var w;
    var h;
    var n;
    for(var i in size){
              if(doc.width > doc.height){
                        w = n = size[i][0];
                        h = size[i][1];
              }else{
                        w = size[i][1];
                        n= h = size[i][0];
              if(doc.width >= w && doc.height >= h){
                        doc.resizeImage(w,h,null,ResampleMethod.BICUBICSHARPER);
                        jpgFile = new File(openFilePath+"/"+n+".jpeg" )
                        jpgSaveOptions = new JPEGSaveOptions()
                        jpgSaveOptions.embedColorProfile = false
                        jpgSaveOptions.formatOptions =
                        FormatOptions.STANDARDBASELINE
                        jpgSaveOptions.matte = MatteType.NONE
                        jpgSaveOptions.quality = quality
                        app.activeDocument.saveAs(jpgFile, jpgSaveOptions, true,Extension.LOWERCASE);             
                        doc.activeHistoryState = doc.historyStates[doc.historyStates.length-2];
    In comparison, here is an example of an image of the exact same resolution that does not exhibit this issue at all:
    The steps taken to save this image were as follows: http://photography.terminalvelocity.ca/content/images/2012/avery_konrad_6/horizontal/1500. jpg
    Image > Resize > Bicubic Sharper (1500px);
    Save For Web
         Jpeg
         Quality 75
         Optimzed: true
         Progressive: false
         Blur: 0
         Convert to sRGB: true   
    Anyway, as you can see, The manually exported image does not have any of the quality issues that are present within the scripted image. I am pretty new to photoshop scriping so am assuming it has something to do with me missing some sort of option in the save settings. Any help would be swell.
    Also note, this doesn't occur on all images, I usually don't see an issue when using the script, however, something about the tones of this particular photo make it really obvious.
    I am using the latest version of Photoshop CS6 (creative cloud) on Max OSX
    thanks so much!

    I'm on windows find the bicubicsharper does not work well it the image being resized has been highly sharpened all ready. Because of my Photoshop preferences I had to make minor modification to your script. I'm also a bit colorblind so i don't see many color issues so I include a screen capture if what windows does with your image and script.
    var orig_ruler_units = app.preferences.rulerUnits;
    app.preferences.rulerUnits = Units.PIXELS;          // Set the ruler units to PIXELS
    doc = app.activeDocument;
    openFilePath = Folder.selectDialog ("Where do you want the images to be saved?");
    maxSize = Number(prompt("What would you like to be the maximum length of the long edge? (Image is never upsized) (pixels)", 2800));
    minSize = Number(prompt("What would you like to be the minimum length of the long edge? (pixels)", 100));
    gap = Number(prompt("How much smaller should each image be? (pixels)", 100));
    quality = Number(prompt("What quality would you like the JPG exported as (0-12)", 10));
    var size;
    var primary;
    var secondary;
    if(doc.width > doc.height){
              primary = doc.width;
              secondary = doc.height;
    }else{
              primary = doc.height;
              secondary = doc.width;
    var ratio = secondary/primary;
    var size = [];
    for(var i = maxSize;i>minSize;i-=gap){
              var  p = i
              var s = i * ratio;
              size.push([p,s]);
    var w;
    var h;
    var n;
    for(var i in size){
              if(doc.width > doc.height){
                        w = n = size[i][0];
                        h = size[i][1];
              }else{
                        w = size[i][1];
                        n= h = size[i][0];
              if(doc.width.value >= w && doc.height.value >= h){
                        doc.resizeImage(w,h,null,ResampleMethod.BICUBICSHARPER);
                        jpgFile = new File(openFilePath+"/"+n+".jpeg" )
                        jpgSaveOptions = new JPEGSaveOptions()
                        jpgSaveOptions.embedColorProfile = false
                        jpgSaveOptions.formatOptions =
                        FormatOptions.STANDARDBASELINE
                        jpgSaveOptions.matte = MatteType.NONE
                        jpgSaveOptions.quality = quality
                        app.activeDocument.saveAs(jpgFile, jpgSaveOptions, true,Extension.LOWERCASE);            
                        doc.activeHistoryState = doc.historyStates[doc.historyStates.length-2];
    app.preferences.rulerUnits = orig_ruler_units;          // Reset units to original settings

Maybe you are looking for

  • Driver Program Name for Shipment output form

    Hi guru's can anyone tell me wats the name of the driver program and the form name for a shipment output form?(for ABAP development purpose) Thanks in advance, Regards/Aryan

  • Can't get 2 firewires to mount at the same time

    i just bought 2 500 gb externals to set up a raid, and i can get either one to show individually, but not at the same time- either by daisy chaining or using separate ports. the second will even show up if the first is off when they are daisied. i do

  • Volume Control Problems

    Every time I click on the top volume key, it takes a picture of the screen. I am unable to increase or decrease volume during calls, it takes pictures instead. I have removed the battery 3 times and it has not resolved itself. If I click on the middl

  • Upgrading to Oracle8i 8.1.7

    Hi, I am using Oracle8i 8.1.5 EE for Linux. How to I upgrade to version 8.1.7 ? Thanks in advance. Regards, Shailesh

  • Copy, paste typing object

    Is there any way to copy a "typing" object and paste it somewhere else? I'm trying to edit a project and one of my slides contains a typing object of a key being pressed. This object appears in the timeline but there does not seem to be any way to co