Setting for whether to resize images or not in exportContext.propertyTable?

I have a plugin that creates multiple renditions of various sizes.  For the sizes I require, the image sizes are set with the two properties LR_size_resizeType and LR_size_maxHeight.
The issue I am facing is that the rendering process only reduces the sizes if the "Resize to Fit" checkbox is checked in Export settings.  If left unchecked, all renditions are set at the same size of the original image.  I've attempted to find out which property this checkbox may effect, but don't see any difference in the keys/values of exportContext.propertyTable between having the checkbox set or not set.
I hope somebody can help advise on the following:
* Is there a property I can set to force LR to resize renditions, whether in exportContext.propertyTable or elsewhere? 
* If not, is there a property in my plugin's preset values that can set this checkbox to 'on' when the plugin is installed?
* Any other approaches to force LR to resize renderings without having the user check the 'Resize to Fit' checkbox?
Thanks in advance for any help.

Thanks for the advice Rob.  The magic setting seems to be LR_size_doConstrain.  When set to true, the images are now resizing correctly, whether Resize to Fit is checked or not.

Similar Messages

  • Resizing Image and Not Keep Aspect Ratio

    Is there a free program to resize images and not keep the original aspect ratio?
    I need to resize loads of images to 100x100 pixels and have tried Image well and IResize yet they do not seem to have an option to not keep the original aspect ratio.
    Thank you
    20" Intel 2GHz Core Duo imac, 2GB Ram, 250 GB HD    

    Hi, Downsize does not seem all that great according to reviews. Why not see if you can buy PS E' 3 mac -- maybe ebay/amazon (if I remember I only paid about $70 for PS E3) As PS E4 just came out I'm sure someone has PS E3 for sale. You will then have no problems completing your image resizing.
    2 other questions for you..are you using the Mac side of your intel or Windows?
    if your using the Windows side I can let you have PS 6 (PC) ..freegratus.

  • When Webdynpro popup is opened for the 2nd time, image is not shown

    Hi Experts,
    We have created a WebDynpro with a popup window.
    This is shown in an iView in the portal.
    If the popup is opened for the first time it looks good.
    If the popup is opened for the 2nd time the image is not shown and the title is shown with a different font.
    If we do a preview of the iView in PCD content area, the title and image is shown and the right font is used: also when you open this for the second time.
    If the iView is in a role the problem appears.
    How can this be solved?
    Thanks in advance,
    Joeri

    Sounds like a wrong reference to a stylesheet.
    Use IE Developer Toolbar or Firefox to debug the code. Or view source (of the popup) and search for .css. Do the same for the popup that doesn't work. Check if there are differences.
    Good luck!
    Noel

  • How does one set the DPI when resizing images in Bridge?

    I am sure I am missing something here (so excuse me if its a simple answer) but I am used to using Photo Mechanic and there you are able to set lots of variables while resizing.  I don't understand this Bridge resizing window when using Batch Processing thru Photoshop. 
    -There are two boxes for sizing.  If you put the same dimension in both does it just set the longest dimension to that size?
    -What if I want say a 10x10 inch image at 72 DPI for web use as opposed to a 10 x10 inch image at 300 DPI for printing purposes, where does one enter that info?
    Thanks,
    Joshua

    You don't "resize" anything in Bridge, nor does it set PPI, pixels per inch—and most certainly NOT "DPI" (Dots [of ink] Per Inch) which is exclusively a feature of the printer.
    Bridge is just a File Browser.  It used to be called simply the Photoshop File Browser".  It doesn't open, edit, manipulate resize or even save anything.
    It merely hands the file(s) over to the appropriate application, whether that be Photoshop, adobe Camera Raw, Illustrator, InDesign or even MS Word.
    You wrote:
    -What if I want say a 10x10 inch image at 72 DPI for web use as opposed to a 10 x10 inch image at 300 DPI for printing purposes, where does one enter that info?
    Again, you mean PPI in both instances there.
    You enter that in whatever application you're sending the image from Bridge.
    For instance in Photoshop:

  • Resized images are not anti-aliased

    I'm creating an app with html + js + css + air, and I'm doing
    something like this:
    <img src="
    http://somedomain.com/image.jpg"
    />
    I find that if I set the image height/width in css that when
    the image loads it displays in very poor quality, mainly it looks
    like it's not anti-aliased. The images look fine when I don't set a
    height or width, so the images look fine by themselves, and when
    rendered at their original size. It's only when I try to resize it
    that it looks bad.
    Any help is greatly appreciated - many thanks.

    Thanks for the suggestion zorglub76. Perhaps I could find a
    solution resizing the image in actionscript, but then I'm stuck
    with another problem, which is how to take an image I've
    manipulated in AS3 and render it in the html img tag? I'm
    dynamically pulling images from amazon, so I can't resize them
    ahead of time.
    As far as the css goes, I don't believe that's the problem.
    When I take the same html + css and render it in chrome, firefox,
    or safari the smaller image looks great. It's only a problem in
    adobe air, and I believe it has to do with it not being
    anti-aliased.

  • Batch resizing images, etc. not as an export

    What I'd like to do is take all the images in a catalog, resize them into tiny thumbnails, place those thumbnails in some directory, and then FTP them to a web server.  Some of this is covered under the SDK's "export" functionality, but what I'm proposing isn't something I want to handle as an export (I don't want to do it from Lightroom's export menu).  I've looked into addDevelopPresetForPlugin and strangely I'm not seeing a provision in there for resizing an image, so clearly that system wasn't intended for resizing.  How might I proceed, what pitfalls do I face, and am I even asking the right questions?

    John R. Ellis wrote:
    1. Your plugin could programmatically define a publish service...
    Unless it needs to be a publish service, you may find it simpler to use an LrExportSession - pass photos and export settings and away ya go...
    John R. Ellis wrote:
    2. Use photo:requestJPEGThumbnail().  But this has a number of issues...
    Indeed, this function is not reliable if user is in develop module. If I remember correctly, it just won't work on a photo selected for develop. I think I discovered later that it will work on other photos in filmstrip, if not most-selected (in develop module I mean). And of course one has to wait for a fresh preview, so could take as long as an export. I wish Adobe would have made more than a half-baked implementation for this function. There are some other issues too with this function - it hangs forever if Lr needs to get in there and create the same preview before function is finished, or something like that.
    Option #3: use reverse-engineered access to preview subsystem - it works regardless of module, and is easy to get immediate preview - hard to assure a fresh one. Biggest problem is handling orientation and icc-profile and metadata if desired. See PreviewExporter for example:
    http://www.robcole.com/Rob/ProductsAndServices/PreviewExporterLrPlugin
    Rob

  • Setting for "Rely on system fonts" does not work

    Hello,
    Some time ago I wrote a VBA function that would print a worksheet to pdf. It worked great. I reformatted my system, and now the code no longer works. When I run the routine, I receive the error message, "When you create a PostScript file, you must reply on system fonts and use document fonts. Please go to the printer properties, 'Adobe PDF Settings' page and turn OFF the option 'Rely on system fonts only; do not use document fonts."
    I have changed this setting within the Adobe printer setting in Excel, I have changed it in both the 'Printing Preferences" and "Printer Properties" with the Devices and Printers Windows dialog, and I have confirmed that it is turned off in the binary registry key "HKEY_CURRENT_USER\Printers\DevModePerUser\Adobe PDF". Also, I have applied the Acrobat 9.4.2 patch. Yet still I get the message when my code is executed....
    There were a few changes between my system from before my reformatting. The common items were Windows7 64-bit, Adobe Acrobat 9. The changes were that I went from Microsoft Office 2010 64-bit to Office 2010 32-bit. Windows 7 SP1 is now installed. Also, both Acrobat and Office are installed on my internal "Data" drive, rather than the "C" drive where my operating system is installed.
    Although I do not see an issue with code, since it worked for months, I have included it below (the printing code is at the end). Any help would be GREATLY appreciated!
    Public Sub EnumOrder(ByVal lngLine As Long)
    'lngLine is the line number to start enumeration at
    Dim strStore As String
    Dim strFileName As String
    Dim strTmpPath As String
    Dim strPDFPath As String
    Dim c As Long
    Dim x As Long
    Dim lngErr As Long
    Dim wsPicklist As Worksheet
    Dim wsTemplate As Worksheet
    Dim oPDF As PdfDistiller
    Set oPDF = New PdfDistiller
    Set wsPicklist = Worksheets("Phase II Picklist")
    Set wsTemplate = Worksheets("Template")
    strStore = wsPicklist.Cells(lngLine, 1).Value
    ' Clear formatted border on order template
    wsTemplate.Activate
    wsTemplate.Range("A7:L56").Select
    Selection.ClearContents
    Selection.Borders(xlDiagonalDown).LineStyle = xlNone
    Selection.Borders(xlDiagonalUp).LineStyle = xlNone
    Selection.Borders(xlEdgeLeft).LineStyle = xlNone
    Selection.Borders(xlEdgeTop).LineStyle = xlNone
    Selection.Borders(xlEdgeBottom).LineStyle = xlNone
    Selection.Borders(xlEdgeRight).LineStyle = xlNone
    Selection.Borders(xlInsideVertical).LineStyle = xlNone
    Selection.Borders(xlInsideHorizontal).LineStyle = xlNone
    wsPicklist.Activate
    ' Initialize variables
    strFileName = wsPicklist.Cells(lngLine, 1) & "-" & wsPicklist.Cells(lngLine, 2) & " " & Format(wsPicklist.Cells(lngLine, 4), "mm-dd-yy") & " Team" & Format(wsPicklist.Cells(lngLine, 3), "00")
    c = 7
    x = lngLine
    ' Add store order data to the template
    With wsTemplate
        ' Add header data to the order template
        .Cells(1, 2) = wsPicklist.Cells(lngLine, 1)  ' Store #
        .Cells(2, 2) = wsPicklist.Cells(lngLine, 3)  ' Team #
        .Cells(4, 2) = wsPicklist.Cells(lngLine, 4)  ' Deliver By
        .Cells(1, 5) = wsPicklist.Cells(lngLine, 13) ' Ship To Name
        .Cells(2, 5) = wsPicklist.Cells(lngLine, 14) ' Ship To Address
        .Cells(3, 5) = wsPicklist.Cells(lngLine, 15) ' Ship To City/State/Zip
        .Cells(4, 5) = wsPicklist.Cells(lngLine, 16) ' Comment
        ' Add line items to the order template
        Do
            .Cells(c, 1) = wsPicklist.Cells(lngLine, 6) ' Part #
            .Cells(c, 2) = wsPicklist.Cells(lngLine, 7) ' Part Name
            .Cells(c, 7) = wsPicklist.Cells(lngLine, 8) ' Qty Ordered
            wsPicklist.Cells(lngLine, 10) = Now         ' Date Printed
            wsPicklist.Cells(lngLine, 11) = strFileName ' File Name
            lngLine = lngLine + 1
            c = c + 1
        Loop While strStore = wsPicklist.Cells(lngLine, 1)
    End With
    'Create formatted borders on store order template
    x = lngLine - x + 6
    wsTemplate.Activate
    wsTemplate.Range("A7:L" & x).Select
    With Selection.Borders(xlEdgeLeft)
        .LineStyle = xlContinuous
        .ColorIndex = xlAutomatic
        .TintAndShade = 0
        .Weight = xlThin
    End With
    With Selection.Borders(xlEdgeTop)
        .LineStyle = xlContinuous
        .ColorIndex = xlAutomatic
        .TintAndShade = 0
        .Weight = xlThin
    End With
    With Selection.Borders(xlEdgeBottom)
        .LineStyle = xlContinuous
        .ColorIndex = xlAutomatic
        .TintAndShade = 0
        .Weight = xlThin
    End With
    With Selection.Borders(xlEdgeRight)
        .LineStyle = xlContinuous
        .ColorIndex = xlAutomatic
        .TintAndShade = 0
        .Weight = xlThin
    End With
    With Selection.Borders(xlInsideVertical)
        .LineStyle = xlContinuous
        .ColorIndex = xlAutomatic
        .TintAndShade = 0
        .Weight = xlThin
    End With
    With Selection.Borders(xlInsideHorizontal)
        .LineStyle = xlContinuous
        .ColorIndex = xlAutomatic
        .TintAndShade = 0
        .Weight = xlThin
    End With
    ' Print the store order to PDF
    strTmpPath = "D:\Eric\Desktop\WIS-Speedway\Phase II\Picklists\New\Tmp\"
    strPDFPath = "D:\Eric\Desktop\WIS-Speedway\Phase II\Picklists\New\"
    wsTemplate.PrintOut copies:=1, preview:=False, _
    ActivePrinter:="Acrobat Distiller", printtofile:=True, _
    collate:=True, PrToFileName:=strTmpPath & strFileName & ".ps"
    oPDF.FileToPDF strTmpPath & strFileName & ".ps", strPDFPath & strFileName & ".pdf", ""
    ' Set active cell to next store order
    wsPicklist.Activate
    wsPicklist.Cells(lngLine, 10).Select
    End Sub

    Ok, I have given up the ghost on this problem. I found a MUCH better solution to the problem that I was having, that also has the side benift of processing far faster. See http://msdn.microsoft.com/en-us/library/ee834871(office.11).aspx for details. Basically, I am now using the VBA ExportAsFixedFormat method, rather than Distiller. Hope this helps.

  • Can a script randomly select an action within a specific set for use on multiple images?

    Hi there.
    I have a folder of 200+ similar images (taken in a photobooth).
    I have made 8 seperate actions within the same set that apply slightly different textures to a image. Actions are titled 1, 2, 3 ...etc.
    I am wanting a way to get all the images to have one of the actions (randomly selected) applied to them.
    I'm pretty confident that this could be achieved with scripting, but have no idea how to write one.
    If the images were sequecnially applied to action 1 then 2 then 3 and so on (repeating when back to 8) this would also be suitable.
    I am fairly new to scripting so please keep answers simple where possible,
    Many thanks.
    Wil Stevens

    Something like this?
    // make variable to hold the name of the action set
    var actionSet = "myActionSet";
    // make variable to hold an array of action names you want to use from that set
    var actionArray = ["Action 1","Action 2","Action 3","Action 4","Action 5","Action 6","Action 7","Action 8"];
    // either hard code the folder path
    // var sourceFolder = new Folder('~/desktop/booth');
    // or prompt for folder
    var sourceFolder = Folder.selectDialog("Select the booth pix folder");
    // if prompting user make sure they didn't cancel the dialog without selecting a folder
    if(sourceFolder != null ) {
        // make variable for processed folder
        var processedFolder = new Folder(sourceFolder+'/processed');
        // make sure it exists
        if(!processedFolder.exists) processedFolder.create();
        // get the files from the folder using a mask to only get certain file extensions
        var files = sourceFolder.getFiles(/\.jpg$/i);// here we are only getting jpeg files with .jpg or .JPG extension
        // now loop through the files and apply random action
        for(var f=0;f<files.length;f++){
            // open a file in the files array
            var currentDoc = app.open(files[f]);
            // generate a random number between 0 and 7 ( array index is zero based )
            var rand = Math.floor((8)*Math.random());
            // apply a random action to the opened document
            app.doAction(actionArray[rand], actionSet );
            // make variable for the new file path
            var saveFile = new File(processedFolder+'/'+files[f].name);
            // save the file
            SaveAsJPEG( saveFile, 8, true );
            // close the doc
            currentDoc.close(SaveOptions.DONOTSAVECHANGES);
            // done with this file so loop to next
         }// end of loop
        // done with all the files in the files array
        alert('Done');
    }// end of if valid folder
    // function to save jpeg
    function SaveAsJPEG( inFileName, inQuality, inEmbedICC ) {
    var jpegOptions = new JPEGSaveOptions();
    jpegOptions.quality = inQuality;
    jpegOptions.embedColorProfile = inEmbedICC;
    app.activeDocument.saveAs( File( inFileName ), jpegOptions );

  • IPhoto '08 resizing images (but not all)

    I have recently run into a problem which I assume is iphoto related. I never use iphoto because quite frankly I don't like it and I never have, which is why I stuck with '08 and didn't bother upgrading and this issue hasn't helped any.
    I decided to do a photo book for my girlfriend for Xmas, however with some pictures from my iphone 4s I was getting the low res error message. These were all photos taken in June and they all appear to be 360 x 270. Eveything before that is the same. However anything taken from September onwards is fine and is at full 8mp resolution. Nothing I've searched for suggests there's an issue with the phone so I'm assuming something happened when importing to iphoto and no message regarding resizing showed up at the time.
    I only really use iphoto to get the pictures off my phone. I use a card reader for my digital camera. Once the photos are off the phone I copy them to a folder I make in the pictures folder in Finder then I go into the iphoto library and delete the several copies of the pictures it, for some reason, deems necessary to make. I use it for nothing else, except the occasional slide show and photo book. I don't suppose there's any way to get them back now but has anybody had this problem before? I'd really like to know how this happened. It's really screwed me up because I took some great pictures and now I can't use any of them. Also, is there an alternative to iphoto to get pictures off my phone because the less I need to use iphoto the better.
    Thanks
    RB

    Wrong, wrong.
    You never access the photos via the File Structure, there is no need to  - oh, and by the way, there are no duplicates.
    With iPhoto you work only in the iPhoto Window. In the Library (Events or Photos view) select an image and drag it to the iPhoto Trash. Empty it. Empty the System trash. Image gone.
    To get a image out of iPhoto: File -> Export...
    Regards
    TD

  • DVD for replication.  DDP Image build not working

    A first attempt to create a DDP Image for DVD replication.
    The disk duplicates OK
    When attempting to create a DDP Image the project check is fine, but the build tab does not come live.  Any suggestions?

    I am trying to create a file that will be copy protected to some degree at least.  That only works with DDP Image files.

  • KT4 Ultra: FSB Setting for 2400+? and USB Keyboard not working

    I just picked up a KT4 and an Athlon 2400+ - What FSB setting should i pick to make the processor detect as a 2400 (currently w/ a setting of 133, it's detecting as a 2000+ 1.67ghz when it should be 2ghz.) - Is there some setting other than the FSB that i need to change?
    Also, when i try to use a USB keyboard, it doesn't work after POST.  I am able to use the keyboard to change the bios settings etc... but once POST is done, the keyboard doesn't respond, and every time you press a key, the numlock light flashes quickly. - This also causes all the other USB devices (mice, etc...) to stop working. - Everything is fine if i plug the same keyboard in via PS2, but unfortunatly, this isn't a good long term solution because i use a USB KVM switch.
    Any suggestions welcome!
    TIA

    Ok, the FSB thing is fixed, thanks for the help.
    As far as the kvm being incompatable, i thought of that, and tried plugging the keyboard directly into a usb port and got the same results.
    I have tried just about every setting i think would relate in the bios and none have seemed to help. ;(

  • My images will not auto resize for viewing

    This is somewhat embarrassing. When viewing images from the web, if they're too large to fit the current window, they get re-sized to fit. Okay. I have a file/page of thumbnails generated by XnView and when I click, the image is loaded, everything is good except the image is always larger than the window. The problem is Firefox WILL NOT auto-resize the image to fit. If I right mouse, I can select "View Image" to view whole image, but I don't want to have to do that for 1000's of images.
    Any help/insight would be appreciated.
    Regards,
    Dave

    Lilly.Love wrote:
    Hi, I'm new to this and for some reason my images are not appearing to full scale on adobe premiere cs6. This is really annoying as I am trying to make a stop motion video but I can't see what I'm doing. Please reply soon, this is an important project. Thanks
    Your sequence settings and clip settings are not matching. To make them match, right click on a clip and choose New Sequence from Clip and a new sequence will be created based on your clip settings.

  • Safari resizing images, again...

    Some years back, around 2007, I started a thread about Safari automatically resizing images that are larger than the window. That "feature" magically appeared with one Safari update, and quickly disappeared with another update. Well, it's now July 2011 and a new Safari update Version 5.1 (6534.50) has brought this annoying feature back.
    I'm sure there is no way to disable it. I have looked through the preferences, developer and debug options. Why can't Apple make up their minds or at least give us the option to turn this thing on or off!!!!
    Check to see if Safari is resizing with this image: http://img51.imageshack.us/img51/9117/g9img0272sj.jpg
    If it fits within the window and your cursor shows a zoom icon with a plus Safari is resizing. Those of you with high resolution screens may not experience resizing as most images will fit within your window.
    You can also tell if Safari is resizing images by grabbing the bottom right window resize handle and resizing Safari. You'll notice the image will change size to fit within the window. See this pic for an example: http://img585.imageshack.us/img585/3074/screenshot20110722.jpg
    Mark
    This is under 10.6.8 Snow Leopard, not 10.7 Lion, although I would expect the same behavior with both.

    Firefox will auto resize images, but not text files.
    Safari will auto resize text files, but not images.
    I'd love to turn auto resize for images on and off in Safari.
    Does anyone know how to do this, with a style sheet perhaps?

  • Why is the iPod Touch (4th Gen) missing the video setting for TV Out?

    Has anyone else noticed that in the iPod Touch (4th Gen) that there isn't a video setting for TV Out? It's not on the new iPhone either. I wanted to attach an AV Composite cord from my iPod to my TV. It won't work because of the missing video setting. You would think that since this is new technology, it would have that setting. After all, my iPod from 2005 has that feature and works just fine with the $39 AV Compostie cable from Apple. I was hoping to display what I have on my iPod Touch to my TV, but discovered that I couldn't. When I called Apple, they thought at first I had a defective cable. But later told me that i OS 5 left out the video out feature as if by mistake. Could anyone elaborate on this issue? I would appreciate it. Thanks!!

    I am well aware that setting was on the iPod before iOS 5! My question is why is it missing? Because right now, Apple is selling the AV Composite cable claiming it's compatible with the iPod Touch (4th Gen) and it's not. Thank you!

  • HELP! My images will not drop into a pages!

    Hello,
    I am writing a large paper with many images.  There are probably around 15-20 images already in the paper, with text, but when I tried to drop in another picture it did not show up.  I could click 'edit' and it would say 'undo drop' but there was not image to 'undo'.  What should I do?

    Lilly.Love wrote:
    Hi, I'm new to this and for some reason my images are not appearing to full scale on adobe premiere cs6. This is really annoying as I am trying to make a stop motion video but I can't see what I'm doing. Please reply soon, this is an important project. Thanks
    Your sequence settings and clip settings are not matching. To make them match, right click on a clip and choose New Sequence from Clip and a new sequence will be created based on your clip settings.

Maybe you are looking for