Adding image file name and logo to image

Can you do batch processing of images to automatically insert the image file name, say at the bottom along with a logo, in black font. The logo stays constant but the image deatils will change with each image?
Can this be done in Lightroom or then the full Photoshop?
Thanks!

I've taken the script mentioned above and modified it to the best of my abilities.  Still getting the same error, unfortunately:
function main(){
var suffix ="cropped";
var docPath =Folder("~/Desktop");
if(!docPath.exists){
   alert(docPath + " does not exist!\n Please create it!");
   return;
var fileName =activeDocument.name.match(/(.*)\.[^\.]+$/)[1];
var fileExt =activeDocument.name.toLowerCase().match(/[^\.]+$/).toString();
var saveFile = new File(docPath +"/"+fileName+suffix+'.'+fileExt);
switch (fileExt){
   case 'jpeg' : SaveJPEG(saveFile); break;
   default : alert("Unknown filetype please use manual save!"); break;
if(documents.length) main();
function SaveJPEG(saveFile, jpegQuality){
jpgSaveOptions = new JPEGSaveOptions();
jpgSaveOptions.embedColorProfile = true;
jpgSaveOptions.formatOptions = FormatOptions.STANDARDBASELINE;
jpgSaveOptions.matte = MatteType.NONE;
jpgSaveOptions.quality = jpegQuality; //1-12
activeDocument.saveAs(saveFile, jpgSaveOptions, true,Extension.LOWERCASE);

Similar Messages

  • Workflow with images,file names and full captions.

    I am working on my mother's memoirs, which will include a block of photo pages.  Those pages will be laid out by a friend.  I would like to use a contct sheet of some kind as a reference to what is to be included with what caption but am discovering just how difficult PE8 Organizer is to work with.
    First I tried the obvious print contact sheet and discoverd that captions are truncated if they run wider than the image itself.
    Secondly I tried a photo book and found that large images do not automatically resize to fit the picture placeholders. Seemed to pick up full caption but I have too many pictures to manually fit.
    Third I tried a web page output but then captions can't be copy and pasted for inclusion into group caption panels!
    Then it occurred to me that even just a list of file names and captions would be sufficient ... but even that is too much for an Adobe catalog to give up!
    All I want is a reference to images and captions, ideally grouped 4 at a time per page as they will be shown in those picture pages.
    Any suggestions would be welcomed.

    I can see two ways to do what you want.
    The first one is to divide you workflow in two steps. Install the free software FastStone image resizer, which can do a batch to resize and put your caption where you want. Batch process the files in a new folder while renaming them with something like 'old name'+ 'resized'. This is to avoid duplicate names. Import them into the organizer. Create an album with all those files, and put them in the correct printing order. Select all and export 'as new files' renaming them with 'common base name', in original format. That should keep the custom order of your project.
    There are also batch renaming and resizing with the affordable Elements+ add-on, but I suppose the first solution will be easier.

  • Adding the file name and path to a document

    Is there a way to automatically generate the file name and path (i.e. 'P:\ARF530\BACKGROUND\diagram.ai') to a document without having to copy and paste from the explorer window?

    Hi,
    So to select the directory, in the WHNE-BUTTON-PRESSED trigger write,
         :<block_name>.<path_item_name> := GET_FILE_NAME(' ', NULL, NULL, 'Choose any directory.', OPEN_FILE, FALSE);
         IF SUBSTR(:<block_name>.<path_item_name>, LENGTH(:<block_name>.<path_item_name>)) != '/' AND SUBSTR(:<block_name>.<path_item_name>, LENGTH(:<block_name>.<path_item_name>)) != '\' THEN
              :<block_name>.<path_item_name> := :<block_name>.<path_item_name> || '\';
         END IF;and to open the file, write,
    DECLARE
      FT_File  TEXT_IO.FILE_TYPE;
    BEGIN
      IF SUBSTR(:<block_name>.<path_item_name>, LENGTH(:<block_name>.<path_item_name>)) = '/' OR SUBSTR(:<block_name>.<path_item_name>, LENGTH(:<block_name>.<path_item_name>)) = '\' OR :<block_name>.<path_item_name> IS NULL THEN
           MESSAGE('Please Enter file name before continue');
           MESSAGE('Please Enter file name before continue');
           RAISE FORM_TRIGGER_FAILURE;
      END IF;
      FT_File := TEXT_IO.FOPEN(:<block_name>.<path_item_name>, 'w');
    END;Regards,
    Manu.
    If my response or the response of another was helpful or Correct, please mark it accordingly

  • How to auto save output with date added to file name, and email the results?

    Hi,
    We found a script to capture disk space usage, that automatically places the results into an Excel file. We would like the script to autosave this file to a specific directroy with the date ran as part of teh file name. We would then like these results to
    be emailed to us if possible. (also if possible to highlight cell in red that is 5% OR less available disk space would be great)
    Here is what we have:
    $erroractionpreference = “SilentlyContinue”
    $a = New-Object -comobject Excel.Application
    $a.visible = $True
    $b = $a.Workbooks.Add()
    $c = $b.Worksheets.Item(1)
    $c.Cells.Item(1,1) = “Machine Name”
    $c.Cells.Item(1,2) = “Drive”
    $c.Cells.Item(1,3) = “Total size (GB)”
    $c.Cells.Item(1,4) = “Free Space (GB)”
    $c.Cells.Item(1,5) = “Free Space (%)”
    $c.cells.item(1,6) = "Name "
    $d = $c.UsedRange
    $d.Interior.ColorIndex = 19
    $d.Font.ColorIndex = 11
    $d.Font.Bold = $True
    $d.EntireColumn.AutoFit()
    $intRow = 2
    $colComputers = get-content "C:\Servers.txt"
    foreach ($strComputer in $colComputers)
    $colDisks = get-wmiobject Win32_LogicalDisk -computername $strComputer -Filter “DriveType = 3"
    foreach ($objdisk in $colDisks)
    $c.Cells.Item($intRow, 1) = $strComputer.ToUpper()
    $c.Cells.Item($intRow, 2) = $objDisk.DeviceID
    $c.Cells.Item($intRow, 3) = “{0:N0}” -f ($objDisk.Size/1GB)
    $c.Cells.Item($intRow, 4) = “{0:N0}” -f ($objDisk.FreeSpace/1GB)
    $c.Cells.Item($intRow, 5) = “{0:P0}” -f ([double]$objDisk.FreeSpace/[double]$objDisk.Size)
    $c.cells.item($introw, 6) = $objdisk.volumename
    $intRow = $intRow + 1
    $d.EntireColumn.AutoFit()
    cls
    Thank You

    Hi Phorbin1128,
    The script below amy be helpful for you to save the Excel file with date in filename, and send email with the attachment of the excel report.
    $erroractionpreference = “SilentlyContinue”
    $a = New-Object -comobject Excel.Application
    $a.visible = $True
    $b = $a.Workbooks.Add()
    $c = $b.Worksheets.Item(1)
    $c.Cells.Item(1,1) = “Machine Name”
    $c.Cells.Item(1,2) = “Drive”
    $c.Cells.Item(1,3) = “Total size (GB)”
    $c.Cells.Item(1,4) = “Free Space (GB)”
    $c.Cells.Item(1,5) = “Free Space (%)”
    $c.cells.item(1,6) = "Name "
    $d = $c.UsedRange
    $d.Interior.ColorIndex = 19
    $d.Font.ColorIndex = 11
    $d.Font.Bold = $True
    $d.EntireColumn.AutoFit()
    $intRow = 2
    $colComputers = get-content "C:\Servers.txt"
    foreach ($strComputer in $colComputers)
    $colDisks = get-wmiobject Win32_LogicalDisk -computername $strComputer -Filter “DriveType = 3"
    foreach ($objdisk in $colDisks)
    $c.Cells.Item($intRow, 1) = $strComputer.ToUpper()
    $c.Cells.Item($intRow, 2) = $objDisk.DeviceID
    $c.Cells.Item($intRow, 3) = “{0:N0}” -f ($objDisk.Size/1GB)
    $c.Cells.Item($intRow, 4) = “{0:N0}” -f ($objDisk.FreeSpace/1GB)
    $c.Cells.Item($intRow, 5) = “{0:P0}” -f ([double]$objDisk.FreeSpace/[double]$objDisk.Size)
    $c.cells.item($introw, 6) = $objdisk.volumename
    $intRow = $intRow + 1
    $d.EntireColumn.AutoFit()
    $date=Get-Date -f yyyy-MM-dd
    $filename = "D:\test\"+$date+".xlsx"
    $b.SaveAs($filename)
    $a.Quit()
    Send-MailMessage -SmtpServer xxxxxxxxxx -To [email protected] -From [email protected] -Subject "test mail" -Body "file name is: $new_file" -attachment $filename
    For more detailed information about the cmdlet Send-MailMessage, please refer to this article:
    Send-MailMessage
    I hope this helps.

  • How can I view information about an image, such as the file name and exposure,  on the Ipad?

    how can I view information about an image, such as the file name and exposure,  on the Ipad?

    You can't with the built-in Photos app, but there are apps such as iPhoto which allow you to see the exposure details (aperture, shutter speed, focal length, ISO). PhotoMeta also shows you that info

  • Truly dumb question. How do I get PS to actually complete a command, eg straighten an horizon, and finalise the change. Even doing a "save as" with a new file name and reloading brings the image back, straightened, but with the skewed back ground frame st

    Truly dumb question. How do I get PS to actually complete a command, eg straighten an horizon, and finalise the change. Even doing a "save as" with a new file name and reloading brings the image back, straightened, but with the skewed back ground frame still there. Is there a "apply change" or similiar command that I simply cannot see.

    brings the image back, straightened, but with the skewed back ground frame
    PSE did what you told it to do. Choose the Straighten and crop edges or fill edges options when you use the straighten tool if you want it to do more than just straighten the contents of the image. Many people prefer the plain straighten because they'd rather crop themselves than let PSE do it.

  • Get image file name

    Hi ALL,
    I want all image file naming like a caption in my source document. Source document contains more than 100 images.
    But i got a script through the forum and tuned for my script. Still, the file naming comes for the Ist page image only.
    From second page onwards the file naming not comes like a caption.
    Trying script:
    //To Get image file name
    var tgt = app.activeDocument.rectangles;
    for (i=0;i<tgt.length;i++){
        myCaption = app.activeDocument.textFrames.add();
        myCaption.textFramePreferences.verticalJustification = VerticalJustification.TOP_ALIGN
        myCaption.contents = tgt[i].graphics[0].itemLink.name
        myCaption.paragraphs[0].justification = Justification.CENTER_ALIGN;
        bnds = tgt[i].visibleBounds;
        myCaption.visibleBounds =
            [bnds[2]+12, bnds[1], bnds[2]+4,bnds[3]];
            //[bnds[0]-6, bnds[1], bnds[0]-1,bnds[3]];
            myCaption.fit(FitOptions.FRAME_TO_CONTENT);
    Thanks in advance
    BEGINNER

    If you use the add() method in conjunction with the document without specifying the page or better the spread, all objects added will end up on the first spread of your document.
    But your testing scenario is also too narrow. You are expecting:
    1. All your graphics are sitting in Rectangle objects (what about Ovals or Polygons?)
    Therefore: All graphics placed in ovals or polygons are left out.
    2. That really ALL rectangles in your document contain graphics
    You are in trouble, if there happen to be empty rectangles on a page. I would suggest to test that with your script. It will give you an error, because there is no graphics[0] for this specific rectangle, where you can draw the "name" for the "itemLink".
    3. That there are no graphics in anchored objects or pasted inside other objects; left alone graphics inside table cells.
    And who can say that thiese three restrictions exist in all documents you want to run this script against?
    So, if you want to get to all image files in the document, why don't you start with the images in the first place?
    Let's see:
    the Document object has an "allGraphics" property.
    Use that as a starting point and you will not missing a single graphic.*
    Iterate through "allGraphics" will get you:
    the "name" of the placed image through its itemLink.name property;
    the container of the graphic, that's the "parent" of the graphic.
    Now you need one other thing:
    the page, or even better(!) the spread where the graphic is located. Imagine a graphic sitting outside of a page.
    If you want to handle thiese, you must know the spread.
    If  writing this script for InDesign CS5 or above, you are in luck. There is a "parentPage" property of the "Graphic" object, you could use for your add() method. For graphics outside of pages this property will be "null".
    And another important thing:
    if a graphic is copy/pasted from e.g. PhotoShop to InDesign, the "itemLink"  property of that graphic is also "null".
    We can handle that in a try/catch scenario…
    //Scope: all graphics on all pages
    //(that includes graphics of anchored objects, active states of MSOs, graphics in table cells as well)
    var tgt = app.activeDocument.allGraphics;
    for(var i=0;i<tgt.length;i++){
        //Narrow the scope to all graphics on pages only:
        if(tgt[i].parentPage != null){
            //What to do with graphics, that are pasted directly from none-InDesign files:
            //the caption will read "Undefined"
            try{
            var myName = tgt[i].itemLink.name;
            }catch(e){var myName = "Undefined"};
            //targets the page of the graphic:
            var myPage = tgt[i].parentPage;
            //adds a text frame to the page of the graphic:
            var myCaption = myPage.textFrames.add();
            myCaption.textFramePreferences.verticalJustification = VerticalJustification.TOP_ALIGN;
            myCaption.contents = myName;
            myCaption.paragraphs[0].justification = Justification.CENTER_ALIGN;
            //Why visible bounds and not geometric bounds?
            var bnds = tgt[i].parent.visibleBounds;
            myCaption.visibleBounds = [bnds[2]+12, bnds[1], bnds[2]+4,bnds[3]];
            myCaption.fit(FitOptions.FRAME_TO_CONTENT);
    *Not exactly true, because it is missing graphics in not-active states of  MultiStateObjects.
    Since MSOs were introduced in InDesign CS5 the DOM documentation left out this fact so far.
    //EDIT: in the first version I had a comment on a different scope. Since  Document Objects have no "graphic" property, I removed that comment. Sorry.
    Uwe
    P.S. And a Happy New Year to all!
    Message was edited by: Laubender

  • How can I assign image file name from Main() class

    I am trying to create library class which will be accessed and used by different applications (with different image files to be assigned). So, what image file to call should be determined by and in the Main class.
    Here is the Main class
    import org.me.lib.MyJNIWindowClass;
    public class Main {
    public Main() {
    public static void main(String[] args) {
    MyJNIWindowClass mw = new MyJNIWindowClass();
    mw.s = "clock.gif";
    And here is the library class
    package org.me.lib;
    public class MyJNIWindowClass {
    public String s;
    ImageIcon image = new ImageIcon("C:/Documents and Settings/Administrator/Desktop/" + s);
    public MyJNIWindowClass() {
    JLabel jl = new JLabel(image);
    JFrame jf = new JFrame();
    jf.add(jl);
    jf.setVisible(true);
    jf.pack();
    I do understand that when I am making reference from main() method to MyJNIWindowClass() s first initialized to null and that is why clock could not be seen but how can I assign image file name from Main() class for library class without creating reference to Main() from MyJNIWindowClass()? As I said, I want this library class being accessed from different applications (means different Main() classes).
    Thank you.

    Your problem is one of timing. Consider this simple example.
    public class Example {
        public String s;
        private String message = "Hello, " + s;
        public String toString() {
            return message;
        public static void main(String[] args) {
            Example ex = new Example();
            ex.s = "world";
            System.out.println(ex.toString());
    }When this code is executed, the following happens in order:
    1. new Example() is executed, causing an object to constructed. In particular:
    2. field s is given value null (since no value is explicitly assigned.
    3. field message is given value "Hello, null"
    4. Back in method main, field s is now given value "world", but that
    doesn't change message.
    5. Finally, "Hello, null" is output.
    The following fixes the above example:
    public class Example {
        private String message;
        public Example(String name) {
            message = "Hello, " + name;
        public String toString() {
            return message;
        public static void main(String[] args) {
            Example ex = new Example("world");
            System.out.println(ex.toString());
    }

  • Render PDF Pages As Images - File names are gibberish

    I have a workflow that takes a folder of PDF's and converts them to JPG's.
    The problem is that Automator is giving the converted files random gibberish filenames such as Kft56Fvg.jpeg and not the names of the original files.
    Anyone know what's going on?

    At the bottom of the list of actions in Automator is an area with the description of the selected action in the listing (but not the workflow). If this description isn't visible, there is a button at the bottom of the window near the bottom left corner of the window for revealing the description.
    If you need to see the description of an action that is in the workflow on the right side of the window, there is a button on the action itself at its bottom left that will reveal the description of the action. This is so you won't have to find it again in the listing just to review its description.
    For you're immediate convenience and peace of mind, this is the description you'll find for "Render PDF Pages as Images":
    ---- Begin description ----
    This action will render each page of the passed PDF files as images.
    Note: As the names of the resulting images are randomly generated, this action is often followed by the Rename Finder Items > Make Sequential action.
    Input: PDF files
    Options: Image format, color model, resolution, and compression
    Result: (Image files) References to the rendered image files.
    ---- End description ----
    Since a PDF can contain many pages, this action could produce many images from the same PDF. So, that could further complicate naming the new images when multiple PDFs are involved if you need special names.

  • How do I call image file names from MySQL & display the image?

    Hello everyone,
    I have image file names (not the full URL) stored in a MySQL database. The MySQL database is part of MAMP 1.7 and I am using Dreamweaver CS3 on a Mac Book Pro.
    I would like to create a catalog page using thumbnails, and PayPal buttons displayed within a table, in rows. With the image centered and the PayPal button directly underneath the image.
    How do I use PHP to call the thumbnail images as an image not the file name, to be displayed in the table?
    Thanks in advance.

    slam38 wrote:
    How do I use PHP to call the thumbnail images as an image not the file name, to be displayed in the table?
    Open the Insert Image dialog box in the normal way, and navigate to the folder that contains the images. Then copy to your clipboard the value in the URL field, and click the Data Sources button. The following screenshot was taken in the Windows version, but the only difference is that Data Sources is a radio button at the top of the dialog box in Windows. It's a button at the bottom in the Mac:
    After selecting Data Sources, select the image field from the approriate recordset. Then put your cursor in the URL field and paste in the path that you copied to your clipboard earlier.

  • How do I not show image file name, only url link - Acrobat Pro 9

    Both file name and url ink show when placing cursor over image. I want to only have url link appear.
    And if that's not possible, I want to then change the image file name. Any ideas?

    Use a button field for the link. You will have to add the action or JS code to open the link.

  • RH8 - Image File Names

    Greetings,
    In a generated project, created in the RH8, when the user hovers over an image, the file name displays. I checked the image properties and Screen Tip text field is empty.
    How can I prevent the image file name from displaying in the generated project?
    Thanks

    Hi there
    When you examine the generated code what do you see? Is there a Title attribute or an Alt attribute? You didn't say what the output type was. Is it WebHelp? If so, did you enable Section 508 options when you generated? (Part of being Section 508 compliant is giving images corresponding names)
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Image file names changed on Homepage

    I have found, on several occasion,s that the titles of the images on my homepage have lost their file names and show the filename iPhoto gives it when uploading to Homepage i.e. Image123A123B123C etc Sometimes, it shows OK when viewing the page but not when editing the page.
    All my images are given my job number reference for people to order from so loosing them is a big issue.
    homepage.mac.com/cjbphotography/

    The exif "image file name" is probably only used by some cameras, I don't have anything in there either.
    Instead use "file name" under "other", that is the actual file name of the master file.

  • Help with image file names when using Import Word document feature

    Hello,
    I am using File >> Import >> Word document into an HTML template.  If the Word document contains images, the images are written to the directory specified in my Site Default Image Folder.  Here is my question: As I was teaching myself the Import function, one time the images were automatically named to match the page name.  So for example, if my page is named Create.html, the images would be named Create_image001.jpg, Create_image002.jpg, etc.  I can't remember how I enabled this feature (or maybe I was dreaming) but if anyone knows how to control the name of the images imported from MS Word, please let me know.  I've searched and Googled for hours and can't find a way to control the image file names.
    Thanks in advance,
    Shellie

    I was hoping that this would be fixed in the 10.8.2 upgrade but it has not.  Anyone have any luck?  Earlier today I was trying to write a paper and navigating between 10 pdfs was a nightmare without being able to hover my mouse for the titles like I used to. 

  • File names when using "Save Image As..."

    I am using Safari for Windows to read Gmail. When I open an image and want to save it, I right-click on "Save Image As..." Instead of displaying the images file name in "File name:" it always says "mail" requiring me to re-type the file name for every photo I save. It also saves every file as "All Files" instead of as a jpg image which my photo viewer does not recognize as even being there.
    Any help would be appreciated.

    As an addendum, the 10.6.8 OS has also been sluggish when I log in or out of my computer (my old PowerBook G4 boots faster after being off).  Otherwise, everything else seems normal.

Maybe you are looking for

  • Error in report while migartion.

    Hi, I have a problem in one report while migration. we are migrating forms and reports from 6i to 11g (11.1.2) and database from 9i to 11g release 2. In our old system we have one report that takes nearly 30 minutes for running. Same report I am runn

  • Need help! Nokia E5-00

    My nokia E5 is getting restated the moment when i connect it to my PC. After restarting, if i diconnect the device and reconnect,  it works fine. Is it a virus? Please help me.

  • Pausing the request to server

    Hi all, we are developing a j2me application which involves uploading and downloading images to server.in this appplication i want to pause the request to the server when there is an incoming call and the request has to resume after the call is answe

  • IPod Touch 4th Gen Battery Issue

    My iPod Touch 4th gen drains the battery while sitting idle overnight. I listen to it all day at work with normal battery usage. When I got home I charged my touch to 100% then left it disconnected in standby mode overnight and in the morning the it

  • Batch upgrade from 4 to 5

    I assume Adobe is not providing a tool to batch upgrade old Edge Compositions from API version 4 to 5? We have hundreds that need upgrading and it seems the only way it so manually open each one within the tool and then copy paste the "_upgrade" file