Fit image: always in centimeters instead of pixels?!

Hi
I'm desperatly looking for a solution to following problem: I want to batch resize images WITHOUT using the "image processor". So I recorded some "Fit Image" steps. In the past they actually got recorded with the unit "pixels" but with CS4 all pixel values get recorded as cm. I already set my ruler units to pixels but it doesn't matter. All actions get recorded in centimeters.
This also happens with other actions.
How can I record my actions in pixels?
Thanks

Thanks.
Yes but it gets recorded like this (in centimeters):
I'm recording either via the record button in the actions windows or by double clicking the entry you see above. It DOES work on my machine but as I often record actions for co-workers these actions won't correctly run on their installations.
The problem with the Image Processor is that I can't control when the resizing is done. If I want to do some actions before resizing I can't do it with the IP.

Similar Messages

  • Is it possible to see image dimensionons in centimeters?

    I can't find any option to see picture dimentions in centimeters instead of pixels in metadata or info overlay in LR3. Is there such an option?
    Thank you.

    Recently discussed in this thread
    A digital image's dimensions are its pixels. It can only be measure in centimetres when printed and then that depends entirely on the resolution (measured in ppi) it is printed at. A image that is 3000 x 3000 can be 10 " x 10 " at 300 ppi and 30" x 30" at 100 ppi, as LR has no way of knowing your intended resolution until you actually set this in the export or print dialog it is not possible for it to show a size in centimetres or inches.

  • I would like to be able to size images by kilobytes instead of pixels--is this possible?  I use I-Contact which requires a maximum of 70kb per image.  For best quality I want to make the images as close to 70 as possible.  Currently I choose a size of 300

    I would like to be able to size images by kilobytes instead of pixels--is this possible?  I use I-Contact which requires a maximum of 70kb per image.  For best quality I want to make the images as close to 70 as possible.  Currently I choose a size of 300 pixels on the shortest side but sometimes this gives me an image of slightly greater than 70kb and sometimes the image is just 30-40kb.  Is there a way to be more precise in reaching but not exceeding 70 kb?

    That is not a feature of iPhoto - suggest to Apple - iPhoto Menu ==> provide iPhoto feedback.
    You can opnly resize using the available options and file size is not one of them
    LN

  • CS4: Fit Image Problem

    Recently had a very bizarre issue that just happened. Not sure why, but it won't go away.
    I use the Fit Image script quite a bit. For sizing images that will end up on the blog, batching out files for proofs, etc. I have it written into many of my actions.
    Up until a few days ago, if you opened any action that I've recorded and expanded out the Fit Image step, you would see the dimensions (in pixels) that were recorded. Then, I started getting an error message for any action that used Fit Image. The error message was "Javascript code was missing".
    I checked my scripts folder and the Fit Image script is there. Nothing has changed. I even used Time Machine to go back a few weeks and see if anything had been deleted. Nothing.
    I tried to write a new action using Fit Image and now, instead of the expanded view showing the size in pixels, it's showing in inches! When I manually use Fit Image, the dialog box comes up with pixels ONLY, so why is it that the recorded step is shown in inches?
    I've gone so far as to uninstall CS4 and reinstall it. The first thing I did was record an action and I'm getting the same results. Why would this just change and does this mean I have to re-record all my actions that use Fit Image?
    Any ideas or insight?

    The problem come down to the fact the the way scripts are recorded in actions the full path of the script is recorded. If you un-install CS3 its script directory will be deleted so the script is gone CS4 script is in a different directory.
    CS2 and prior recording of the plug-in fit image were recorded as step Fit Image not as a script path step.  These actions should still work for when Photoshop starts up the CS4 Fit Image scripts register as the plug-in Automate>Fit Image.  When these action  are played and the plug-in step Fit Image get played it is looking for the registered Fit Image Plug-in Photoshop should run the CS4 Fit Image Script.
    The bug in Fit Image is very minor.  One day I used fit image on a image that was 1080 x 1080 and fit image was set to 1200 x 1200 the resulting image turned out to be 1201 x 1200 one side was one pixel off there were 1200 extra pixels.
    Reading the CS3 Fit Image Script I saw this:
         docRatio = docWidth / docHeight; // decimal ratio of original width/height
         // NOTE - ccox - 17 Aug 2004 - I added the rounding by 0.5
         // this should solve reported cases of fit image being off by 1 (always under)
         // NOTE - elr - 3 May 2006 - keep original aspect ratio
         newWidth = width;
         newHeight = ((1.0 * width) / docRatio) + 0.5; // decimal calc
         newHeight = 1 * newHeight; // make integer
         if (newHeight > height) {
              newWidth = 0.5 + docRatio * height; // decimal calc
              newWidth = 1 * newWidth; // make integer
              newHeight = height;
    Someone fixed fit image not to be one pixel under.  I thought this fix most likely cause my one over problem so I stuck in some alerts to see the numbers. Looked like the multiply by one to round did not round and I thought the .5 value perhaps would work better if it were .4.  So I changed to code to
         docRatio = docWidth / docHeight; // decimal ratio of original width/height
         // NOTE - ccox - 17 Aug 2004 - I added the rounding by 0.5
         // this should solve reported cases of fit image being off by 1 (always under)
         // rounding by .5 seem to make some sides 1 Px large change to .4 and used math round to round JJMack
         // NOTE - elr - 3 May 2006 - keep original aspect ratio
         newWidth = width;
         newHeight = ((1.0 * width) / docRatio) + 0.4; // decimal calc
         newHeight = Math.round(newHeight); // make integer
         if (newHeight > height) {
              newWidth = 0.4 + docRatio * height; // decimal calc
              newWidth = Math.round(newWidth); // make integer
              newHeight = height;
    The name of my script file is "My Fit Image.jsx" I renamed Adobe file to "Fit Image.jsx.Adobe" My script is in My Photoshop Script tree which I linked to Photoshop's Presets\Script\ by placing a shortcut to my tree into into Photoshop's Script directory. "My Fit Image.jsx" registers itself as Automate>Fit Image...
    $$$/JavaScripts/FitImage/Name=Fit Image...
    $$$/JavaScripts/FitImage/About=Fit Image   Version 10.0   By Quality Process^r^rCopyright 2007 Adobe Systems Incorporated. All rights reserved.^r^rResizes a document constrained by the given bounds.^r^rJohn J. McAssey Modified Version^rFixed the one side one pixel to long problem^rand changed the interpolation Method used^rUpsizing will use Bicubic Smoother^rDownsizing Bicubic Sharper^rInstead of just using Bicubic for all resizing like Adobe did.
    automate

  • Fit Image

    Hello,
    I created an empty frame with 120mm width.
    Then I placed an image into it using "Paste Into".
    I would like the image to have 112mm width (4mm margin to frame at each side) and scale proporcionally.
    And I want the frame to also get a 4mm margin up and down.
    I was able to do it only manually with help of guides.
    When using Fitting I always get strange results.
    Is it possible to use fitting for this?
    Thank You,
    Miguel

    I think I might do this a little differently from Bob (though I would definitely Place, not paste, the image -- you only get the low resolution screen preview when you paste raster content, and you can't edit it later). Instead of drawing the frame first, I would simply place the image. In CS4 and later, when you place an image, if you hold down the mouse button and drag, your image will scale proportionally as you change the size of the frame you are drawing, so watch the smart cursor numbers and drag to 112 mm width. Now select the frame, click the center point in the transformation proxy, and type +8mm after whatever is listed in the the height and width fields in the control panel and press enter.

  • A script to increase the minimum canvas size? (Like Fit Image, but with just my canvas)

    For starters to be clear, I'm looking to manipulate canvas size. Not image size.
    I want to create a script to automatically increase the width and height of my canvas in Photoshop to a specific size when necessary. I only want this to happen if my canvas is less than that specified size. For example: Let's say my canvas size is 300x250. I want the canvas to be at LEAST 600x600. If I run my action it will increase the canvas size to 600x600 for me. If I run this same script on an image where the canvas size is already 700x700, it won't do anything at all to it because both the width and height are equal to or greater than my target size.
    It would also need to work with the height and width on an individual basis. If my image is 400x800, the action would increase my width from 400 to 600, but it would leave the height of 800 alone. So the final canvas size will end up being 600x800.
    It's kind of like the "Fit Image" option in Photoshop, but I only want to manipulate my canvas size, NOT my image size.

    It is possible.
    But if you hope that the dialog remembers the last settings that would require storing those values (which could be done with a txt-file at some pre-defined location), but it would make the Script a bit more complicated.
    // resize canvas in either direction if it is below a defined minimum;
    // 2011; use it at your own risk;
    #target photoshop
    if (app.documents.length > 0) {
    // dialog;
    var dlg = new Window("dialog", "increase width and height if under", [500,300,750,380]);
    // filter for checking if entry is numeric, thanks to xbytor;
    numberKeystrokeFilter = function() {
              if (this.text.match(/[^\-\.\d]/)) {
                        this.text = this.text.replace(/[^\d]/g, "")
              if (Number(this.text <= 0)) {this.text = 5};
              this.text = Math.round(Number(this.text));
    // fields for entry;
    dlg.hor = dlg.add("edittext", [14,15,88,35], "600", {multiline:false});
    dlg.hor.onChange = numberKeystrokeFilter;
    dlg.horText = dlg.add("statictext", [93,15,118,35], "px", {multiline:false});
    dlg.ver = dlg.add("edittext", [129,15,210,35], "600", {multiline:false});
    dlg.ver.onChange = numberKeystrokeFilter;
    dlg.verText = dlg.add("statictext", [215,15,240,35], "px", {multiline:false});
    dlg.hor.active = true;
    // ok- and cancel-button;
    dlg.buildBtn = dlg.add("button", [13,45,118,68], "OK", {name:"ok"});
    dlg.cancelBtn = dlg.add("button", [128,45,240,68], "Cancel", {name:"cancel"});
    // show dialog;
    dlg.center();
    // show dialog;
    var myReturn = dlg.show ();
    // proceed if ok-ed;
    if (myReturn == 1) {
    var myDocument = app.activeDocument;
    // set to pixels;
    var originalRulerUnits = app.preferences.rulerUnits;
    app.preferences.rulerUnits = Units.PIXELS;
    // set the minimum values;
    var minWidth = Number(dlg.hor.text);
    var minHeight = Number(dlg.ver.text);
    // get current ones;
    var theWidth = myDocument.width;
    var theHeight = myDocument.height;
    // resize canvas;
    myDocument.resizeCanvas(Math.max(minWidth, theWidth), Math.max(minHeight, theHeight), AnchorPosition.MIDDLECENTER);
    // reset;
    app.preferences.rulerUnits = originalRulerUnits;

  • How to get my images always order by file name, and not by time of captur, in all the folders in the library?

    How to get my images always order by arquive name, and not by time of captur, in all the folders in the library?
    Sorry for the poor english, but im portugues.
    In the library we can change the order of classification of image by, time of capture, name of file etc... I'm wondering if its possible define to be always by the name of file.
    It ´s possible?
    And i have other question, in print label we have an option to auto rotate to feet in page to have the image using the maximum area in the page (auto rotate, zoom etc), its possible to change the orientation of the rotation to be always in  the other direction?

    The Muvos are USB Mass Storage devices and do not have the ability to display track information based upon ID3 tags.
    The Zens all read and display track info based upon ID3 tag information that is either gathered from an online source or entered by the end-user.
    If you want the track information displayed instead of the ID3 tag information, you could edit the ID3 tags and rename the title to whatever you have as the file name. Not sure why your file names would differ so much from the ID3 tag info though, almost all of my content has the same name for the filename as it does on the ID3 tag title.

  • How to fit image to the screen of an Android device?

    Required to load the image from the gallery (CameraRoll) and fit to the screen entirely.
    Tried a lot of ways - completely unable to fit. Always cut off the edge of the image.

    You won't be able to write LabVIEW code that runs on the phone to return the data. What you would need to do is look to see if there is an Android App that can publish the data of the phone's internal sensors over TCP/UDP/bluetooth(?) and you can then write your LabVIEW VI to read that data using an appropriate method (e.g. TCP).
    I don't know of such an App - maybe you would have to write one which will be non-trivial. I tried a quick search of "sensor data tcp" and "sensor data" and there are some data loggers etc. for the phone sensors so maybe one of those will point you in the right direction.
    There is a little bit of information here http://stackoverflow.com/questions/18107148/real-time-wireless-sensor-data-transfer-wifi-or-bluetoot... and here http://onlinepresent.org/proceedings/vol4_2012/50.pdf
    Certified LabVIEW Architect, Certified TestStand Developer
    NI Days (and A&DF): 2010, 2011, 2013, 2014
    NI Week: 2012, 2014
    Knowledgeable in all things Giant Tetris and WebSockets

  • How to fit image in image control?

    I am using image control to display images.
    I have placed image control inside canvas.
    While loading I am maintaining image aspect ratio and based on it i am resizing image and canvas both.
    Now i have requirement that I dont want to change height and width of image and canvas control, instead image should be scalled to fit in canvas.
    I know image have scaleX, scaleY and scalecontent property.
    Can anybody guide me how to calculate scaleX and scaley so image fits in image control?
    Thanks,
    -CK

    did you try scaleContent="true"

  • Fit Image action stops on some jpgs

    I need to batch thousand of images w different file size dimensions & formats (.eps, .tif, .jpg) to have a print dimension 3"x2" @ 300 dpi (900x600 pixels). Fit Image seems to be the "perfect" feature for this task as long the image starting resolution is 300 dpi.  If the image starting resolution is 72 dpi I have to uncheck "resample image"  change document dimensions to 3"x2", check "resample image" & then change the resolution to 300 dpi to meet our print requirements.
    From Bridge CS5 I select the images that have resolution of 300 dpi> Tools> Photoshop> Batch> I select the action Fit Image.  The problem I'm having is w the jpgs. Sometimes I get the JPG options window. (See attached) which stops the batch to keep processing images until I select OK. I noticed this doesn't happen w every jpg. Is there any way to automate this task without getting any windows?
    I have learned a lot reading posts related to the Fit Image feature. I want to thank all the Photoshop gurus out there.
    PS.: I tried Image Processor... but I think Fit Image work better for my purposes. I'm using PS CS5

    Thank You c.pfaffenbichler for your quick response.
    I was searching for Fit Image in the forums & spent a good amount of time yesterday trying to find answer.  I guess I have to keep looking why I'm still getting the JPG options window.
    c.pfaffenbichler wrote:
    I think there have been previous threads about this, but you’d have to check them out to see if a workable solution was offered.
    Re-saving jpgs seems less than adviseable to me in any case.
    And I wonder why you find Fit Image more convenient than Image Processor in this case?
    In Bridge I select all the images that are 300 ppi including jpg, eps & tiff files. If the original file is a jpg  using Image Processor was Ok but when I'm processing eps & tif converting those files to jpg using Image Processor I noticed that the picture quality changed (blur)  & I have to sharpen the pictures.
    I would like to hear your opinion about Image Processor & why do you think is a better approach than Fit Image action

  • How do I read inches instead of pixels, in the develop module

    How do I read inches instead of pixels, in the develop module. I am not discussing resolution. When I crop, I need to see the numbers in inches, not pixels.
    I am not exporting to anything. From the develop module I go on to the print module. However I want to see inches, not pixels, in the develop module.
    I am not cropping to an aspect ratio. I am cropping to a given size, in inches, just as if I was in PS CS 3.
    LR 2.0
    Mac OS 10.4.11, G5, dual 2.3; MBP OS 10.5.4,; Epson Pro9600 c ultrachrome matte black.
    Thanks in advance.
    Nancy

    >Instead of the image in pixels, why can't I read it in inches? Physical size in pixels is staring at me, why can't inches be there instead?
    Because it is not there. The size in inches ONLY becomes real at print or at export time and can and will change depending on what you do there. Before that you are looking at a number of pixels in a computer.
    >I need to set these values in the develop module, just as if I was setting them in PS CS 3.
    That does not make any sense. There is no need to set this in develop at all. Lightroom will scale to your final size at export/Print/web/slideshow. Not in develop. There you are working with the RAW data at its native size.

  • Scripting Fit Image Command

    Does anyone know if there is a way to add the "Fit Image" command to a script?
    This is what I currently am working with below. I just want to be able to make it so that images are no longer than 1000 pixels on either side, and not have to call an action.
    Thanks!
    Janice
    //PLACE WATERMARK NOTICE IN FILE
    var idPlc = charIDToTypeID( "Plc " );
        var desc973 = new ActionDescriptor();
        var idnull = charIDToTypeID( "null" );
        desc973.putPath( idnull, new File( "C:/watermark.gif\/" ) );
        var idFTcs = charIDToTypeID( "FTcs" );
        var idQCSt = charIDToTypeID( "QCSt" );
        var idQcsa = charIDToTypeID( "Qcsa" );
        desc973.putEnumerated( idFTcs, idQCSt, idQcsa );
        var idOfst = charIDToTypeID( "Ofst" );
            var desc974 = new ActionDescriptor();
            var idHrzn = charIDToTypeID( "Hrzn" );
            var idPxl = charIDToTypeID( "#Pxl" );
            desc974.putUnitDouble( idHrzn, idPxl, 0.000000 );
            var idVrtc = charIDToTypeID( "Vrtc" );
            var idPxl = charIDToTypeID( "#Pxl" );
            desc974.putUnitDouble( idVrtc, idPxl, 0.000000 );
        var idOfst = charIDToTypeID( "Ofst" );
        desc973.putObject( idOfst, idOfst, desc974 );
    executeAction( idPlc, desc973, DialogModes.NO );
    //FLATTEN IMAGE
    app.activeDocument.mergeVisibleLayers()

    You can also look at the Image Processor script to see how it actually uses the Plug-in script "Fit Image.jsx"..   It woul look somethimg like this
    FitImage( 1000, 1000 );
    //Code below from "Image Processor.jsx"
    // use the fit image automation plug-in to do this work for me
    function FitImage( inWidth, inHeight ) {
              if ( inWidth == undefined || inHeight == undefined ) {
                        alert( strWidthAndHeight );   //This statement woul need to changed
                        return;
              var desc = new ActionDescriptor();
              var unitPixels = charIDToTypeID( '#Pxl' );
              desc.putUnitDouble( charIDToTypeID( 'Wdth' ), unitPixels, inWidth );
              desc.putUnitDouble( charIDToTypeID( 'Hght' ), unitPixels, inHeight );
              var runtimeEventID = stringIDToTypeID( "3caa3434-cb67-11d1-bc43-0060b0a13dc4" );
              executeAction( runtimeEventID, desc, DialogModes.NO );
    The image process set vars for localization
              // the string that need localized
              strWidthAndHeight = localize( "$$$/JavaScripts/ImageProcessor/WidthAndHeight=Width and Height must be defined to use FitImage function!" );1

  • Fit Image & Sharpening

    In Photoshop CC
    Mac OSX
    When using the command 'fit Image' in an action, is there some sort of sharpening going on ? Bicubic, BicubicSharper, BicubicSmoother, none...

    I do no like your action at all put it in the trash.  I don't like the fact that you interpolating a single document 4 times.  It also look like you trying to backup in history to before one of the resizes but from what I see it misses and would just backup to before the save.  The Action might be hard to Batch perhaps the batch processor could override the save as steps but the names would be the same with a suffix.  A3 and A4 have a slightly different aspect ratio. I see nothing in you action to crop to either.  The Fit Image steps I see are for a Landscape or Portrait image the has a correct aspect ratio whatever you define as correct.   The fit image step make the larger side near A3 300dpi size and near A4 300dpi pixel size.  However I see no Image size step setting the DPI to 300dpi with resample not checked.  I could send you a plug=in script the you could use to do centered A3 and A4 aspect ratio crop that would handle both orientations.  Still there are other problems an action can't handle.
    The easiest want to handle this is with a script. A script that you do not need to write just download a use.  However because the A3 and A4 sizes have different aspect ratios that are also different the your camera images aspect ratio you may nee to do some cropping or decide on how you want to handle aspect ratio mismatches.
    Without any actions you could download the Image Processor Pro and process Landscape or Portrait images in a run.  If you want to mix landscapes and Portraits.  You would need to  download my crafting action package and use my plug-in script Aspect Ratio Selection in a couple of actions to do centered A3 and centered A4 crops of the selection set by the plug-in.
    Image Processor Pro type Dialog.
    A3
    420 x 297 mm
    16.5 x 11.7 in aspect ratio  1.414141414141414
    A4
    297 x 210 mm
    11.7 x 8.3 in aspect ratio 1.414285714285714
    300x16.5=4950  A3 @ 300dpi
    300x11.7=3510
    72x16.5=1188   A3 @ 72dpi
    72x11.7=842.4
    300x11.7=3510 A4 at 300dpi
    300x8.3=2490
    72X11.7=842.4  A4 @ 72dpi
    72x8.3=597.6
    Crafting Actions Package UPDATED Aug 14, 2012 Changed AspectRatioSelection Plug-in script added Path support.
    Contains
    Action Actions Palette Tips.txt
    Action Creation Guidelines.txt
    Action Dealing with Image Size.txt
    Action Enhanced via Scripted Photoshop Functions.txt
    CraftedActions.atn Sample Action set includes an example Watermarking action
    Sample Actions.txt Photoshop CraftedActions set saved as a text file.
    12 Scripts for actions
    Example
    Download

  • The trial version of Adobe photoshop 13 does not have the Crop And Straighten Photos option  under file and automate....... all it has is "Fit Image".......   would really like to have that feature.... is it something they eliminated?

    I am scanning in many old photos and there are several photos on one page.... I read about a feature that was suppose to be available under adobe photo shop elements 13 that would allow multiple cropping under the file, automate, Crop And Straighten Photos....... the only thing that displays on the version 13 that I have is "Fit Image"...... which doesn't help me......    have they removed this tool or do you have to crop and save one image at a time?    Thanks for your help?

    You want Image>Divide Scanned Photos

  • Chess piece image of king showing instead of the normal picture we had chosen. Have we been hacked or does this happen for another reason?

    Chess piece image of king showing instead of the normal picture we had chosen. Have we been hacked or does this happen for another reason?

    While ATT was the one who made the news this time, it has been long reported that most of the major providers (google, Facebook, AOL, etc.)  have been monitoring data trafic on their networks, and providing back door access to government agencies for years. (If one recalls, kinda the point Edward Snoden made with his secret government messages release.) At least, they seem to be backing off, as the public becomes more aware or their privacy invasions.

Maybe you are looking for

  • Google web search results "not right" in Firefox

    I'm having a problem using Google web search (both toolbar and straight from google.com) in Firefox. When I search for a keyword, lets say a business name, and expect it to bring up the business's website, the results include videos, some blogs, news

  • Minor editor bug

    Hi, I noticed couple problems with JDev editor: 1) editor only shows "Brace Mismatch" when cursor is positioned next to it. So when code you think that there is no errors but when you compile errors are reported. 2) some times syntax error are not sh

  • IMac Retina 5k Display with 6 TB Fusion Drive

    For no good reason Apple offers no BTO option for build-in state of the art 6 TB hard drives as Fusion Drives in the Apple Online Store. Those drives work as Fusion Drive without any problem in customized iMacs already. I have seen it! So why leave o

  • Does premiere elements 13 support canon mov files?

    Does Premiere Elements support Canon mov files or must I convert the mov file to a different format first?  If I have to convert the mov file first, what file conversion program should I use and what file type should I convert it to?

  • Home Sharing Failed to xfer iTunes Library - how do I start over?

    Trying to "copy" iTunes Library from 1 Windows 7 (64bit) to another Windows 7 (64bit) computer. Followed instructions to use "Home Sharing" but the result was a complete disaster. Target Library wound up with every Playlist duplicated - and most Play