Photoshop action or plugin which creates embroidered portraits? See samples in post

How do I create portraits from photos like the ones in this page?
http://www.todayandtomorrow.net/2011/06/22/embroidered-portraits/

They could be really embroidered. There are embroidery programs like that one:
http://www.wilcomdiscovery.com/Gallery/tabid/65/Default.aspx
miss_marple

Similar Messages

  • Saving Photoshop Actions?

    What is the correct way to save photoshop actions that I have created? I currently save them by slecting the folder and then 'Save Actions' from the dropdown.
    However, I have just gone back into Photoshop and they are now missing??
    Thanks

    Sounds like you are corectly saving the Action Set to a file. Maybe Ps had a problem writing its settings files when it was last closed. Try loading the file you saved then immediately close Photoshop so it writes updated settings files. When you relaunch Ps, your Actions should still be in the Actions panel.

  • A photoshop action to access external doc and create this???

    Photoshop action
    If i have a graphic created, say for example, a square, I would like to create a script that
    would read an external document that contains information like the following:
    "123 Vernon Street"
    "345 Exile Court
    "3456 Yogurt Lane"
    "44344 Respite Ave"
    "21267 Gugenhiem Road"
    and then takes that information and puts in onto the graphic in a formatted way (positioned
    onto the graphic centered, for example).
    The external document may have between 25 - 100 different addresses. The graphic will only
    be able to hold a certain amount of addresses (x), so after the graphic is filled with that
    number(x), another graphic would need to be created for the remaining addresses, and so on.
    How does one accomplish this?

    Well, that’s certainly beyond Actions’ scope but can be done with JavaScript – do You have any experience with JavaScript?
    Apart from that it may, if the text is not to be edited in a Photoshop-specific way and pdf-output is OK, be easier to make a multipage document in Indesign for something like this.

  • Creating a photoshop action to save a batch of images as patterns

    I am trying to use Photoshop actions to script about a thousand image files into PAT files. I am running into a problem with actions when it comes to defining a pattern. The program naturally selects the filename as the name of the pattern when doing it manually, but when I do this while recording an action Photoshop logs the filename used in creating the action and then uses that filename for all sripted patterns. Is there a way to alter that setting to select the current file's name instead?

    You might want to move this thread to the general photoshop forum if tou want an action.  However your not going to be able to do create the action you want for when you record menu Edit>Define Pattern the "Pattern Name Dialog" will pop up and whatever is used in it will be recorded into the action.
    Also Photoshop Scripting DOM does not have a interface for creating and nameing patterns.  However you should bne ale to write a script to do what you want using code generated with Photoshop Scriptlistner Plug-in and modifying the hard coded name to a variable you set with somthing like the active document name.
    Before defining the patern you may be able to see if the name is all ready use for a pattern name so you can add something to the name to avoid duplicateing name.
    ScriptListner Code difine pattern
    // =======================================================
    var idMk = charIDToTypeID( "Mk  " );
        var desc14 = new ActionDescriptor();
        var idnull = charIDToTypeID( "null" );
            var ref12 = new ActionReference();
            var idPtrn = charIDToTypeID( "Ptrn" );
            ref12.putClass( idPtrn );
        desc14.putReference( idnull, ref12 );
        var idUsng = charIDToTypeID( "Usng" );
            var ref13 = new ActionReference();
            var idPrpr = charIDToTypeID( "Prpr" );
            var idfsel = charIDToTypeID( "fsel" );
            ref13.putProperty( idPrpr, idfsel );
            var idDcmn = charIDToTypeID( "Dcmn" );
            var idOrdn = charIDToTypeID( "Ordn" );
            var idTrgt = charIDToTypeID( "Trgt" );
            ref13.putEnumerated( idDcmn, idOrdn, idTrgt );
        desc14.putReference( idUsng, ref13 );
        var idNm = charIDToTypeID( "Nm  " );
        desc14.putString( idNm, "Pattern 5" );      <------ change "Pattern 5" to be a variable
    executeAction( idMk, desc14, DialogModes.NO );

  • Existing Actions and Plugins Compatible with Photoshop CS5?

    I have actions and plug-in products, and while I've done everything I can to make them future-proof, I'm wondering if any Photoshop CS5 beta testers can speak to whether existing actions and plugins are generally compatible with Photoshop CS5?
    Specifically:
    Are existing 32 bit Windows (PC) plugins proving to be compatible with Photoshop CS5?
    Are existing 64 bit Windows (PC) plugins proving to be compatible with Photoshop CS5?
    Are existing actions (both platforms) proving to be compatible with Photoshop CS5?
    I'm anxiously awaiting the go-ahead to download my copy to verify everything, but I'm just trying to get a feel for whether I'll have work to do.  I'm hoping for the level of compatibility seen in CS3 and CS4 - all my software worked perfectly with no changes.
    Thanks.
    -Noel Carboni
    ProDigital Software
    <link removed>

    I appreciate you all taking the time to answer, but none of you has actually said what DOES happen with your existing actions / plugins and CS5 beta.
    I know that experience with one set of actions and plugins doesn't guarantee operation with another, but if, for example, someone actually stated, "all my old plugins failed to work with CS5" or "they all seemed to work okay" then I'd have a better idea of what to expect.
    Please keep in mind I've been developing commercial actions since PS6 and plugins since CS2, and all my software works on all 32 bit versions and 64 bit CS4 on Vista x64 and Windows 7 x64, so I'm intimately familiar with what might happen and what should happen.  Plus I've programmed them to be quite resilient, and I don't expect any of the CS5 feature changes to break them.  What I don't know is whether Adobe has fundamentally altered the plugin interface this time around, or has deprecated any old filters, causing a plugin or action that used to work to fail now.  The word "rewrite" has been used to describe CS5, and that has me wondering.
    In short, I'm really looking for actual experience with the CS5 beta here.
    Wish I could get the CS5 SDK already.  I don't understdand why Adobe doesn't release that in advance.
    Thanks.
    -Noel

  • Convert photoshop action to applescript?

    Hi all. I hope you might be able to help me out. I'm looking for a way to convert photoshop actions i've created to applescript. I can't seem to find any sources to do this. I did find a script to convert actions to javascript, but as i don't have a good working knowledge of JS it's not as helpful as Applescript would be.
    Thanks in advance for any help pointing me in the right direction
    -andrew

    [email protected] wrote:
    > I'm looking for a way to convert photoshop actions i've created to applescript. I can't seem to find any sources to do this. I did find a script to convert actions to javascript, but as i don't have a good working knowledge of JS it's not as helpful as Applescript would be.
    At the core of an Action is series of executeAction invocations that correspond
    to the steps of the Action. This is what the ScriptingListener output
    essentially is, as described in the Action Manager section of the PSCS3
    Scripting Guide.
    There is no Action Manager API for AS. Your only option in AS is to call JS
    code, as is described in the Scripting Guide. You can either use the code
    generated by the ScriptingListener plugin, or you can use my Action->JavaScript
    translation script (which you've already found). To the best of my knowledge,
    there are no other solutions if you program in AS.
    -X
    for photoshop scripting solutions of all sorts
    contact: [email protected]

  • Does any one know where I can Find the Photoshop CC ScriptingListener Plugin?

    Does any one know where I can Find the Photoshop CC ScriptingListener Plugin? I have CS6 but I need CC .  It's a new Version and I feel its probably not a good Idea to use the old version(CS6).

    Hi shawn moore,
    The ScriptingListener Plugin is the same for CS6 as it is for Photoshop CC, all you need to do is copy and paste the plug in into the appropriate plugins folder.
    Here is more information and links to the ScriptListener Plugin:
    ScriptingListener Plug-in
    This package contains the ScriptingListener plug-in, scripting documentation, and sample scripts. The ScriptingListener plug-in can record Javascript to a log file for any operation which is Actionable.
    Download the ScriptingListener plug-in package from the following locations:
    For Mac OS:
    Scripting Listener Plug-in for Mac
    For Windows:
    Scripting Listener Plug-in for Windows
    To install the ScriptingListener Plug-in
    Mac
    Unzip Scripting Plug-In Release.dmg.
    After you unzip the package, you will see three folders: Documents, Sample Scripts and Utilities. Drag the Utilities folders to the Applications\Adobe Photoshop CS6\Plug-ins\ or the  Applications\Adobe Photoshop CC\Plug-ins\ folder.
    Note: Alternately, you can create a new "Scripting" folder inside the Plug-ins folder and drag the contents of the package there.
    Hope this helps!

  • Automating Photoshop Actions

    Hi:-)
    I need a script which takes a folder of images and gets them ready for a website by
    1) opening each image and saving it for the web
    2) checking if any of its dimensions are above 500 - if not moving on to the next image and, if so,
    3) proportionally reducing that dimension to 500.
    Is this something I can do with Photoshop Actions alone? If not, can I use Applescript to accomplish this?
    Thanks a lot !

    Hi Mark thanks a lot.
    I tried option 2 today. Initially it was returning the filename without the extension (baseName) as a string with a space between each character (as in "f i l e n a m e")so I was getting the error message
    "Adobe Photoshop CS got an error: Folder some object wasn't found."
    I then slightly rejigged the on getBaseName(fName) handler to the following:
    on getBaseName(fName) -- File name without extension
    set x to "."
    set y to offset of x in fName
    set z to y - 1
    set baseName to ""
    repeat with i from 1 to z
    set baseName to baseName & character i of fName as string
    end repeat
    return baseName
    end getBaseName
    Now I get correct filename without the extension bu now I am getting the following error message which I don't understand:
    "Adobe Photoshop CS got an error: General Photoshop error occurred. The parameters for command “Save” are not currently valid."
    I ran the Event log while running the script and pasted below is what it recorded:
    tell current application
    choose folder with prompt "Please choose the folder containing Images" without invisibles
    alias "Macintosh HD:Users:bisd:Desktop:photos2.fpbf:"
    end tell
    tell application "Finder"
    get every file of alias "Macintosh HD:Users:bisd:Desktop:photos2.fpbf:"
    {document file "pismall.gif" of folder "photos2.fpbf" of folder "Desktop" of folder "bisd" of folder "Users" of startup disk, document file "ppf_large.gif" of folder "photos2.fpbf" of folder "Desktop" of folder "bisd" of folder "Users" of startup disk, document file "ppf_small.gif" of folder "photos2.fpbf" of folder "Desktop" of folder "bisd" of folder "Users" of startup disk, document file "ppfa copy.gif" of folder "photos2.fpbf" of folder "Desktop" of folder "bisd" of folder "Users" of startup disk, document file "ppfa.gif" of folder "photos2.fpbf" of folder "Desktop" of folder "bisd" of folder "Users" of startup disk, document file "ppfa_large.gif" of folder "photos2.fpbf" of folder "Desktop" of folder "bisd" of folder "Users" of startup disk}
    end tell
    tell application "Adobe Photoshop CS"
    get properties of settings
    {color picker:Adobe color picker, interpolation method:missing value, export clipboard:true, show tool tips:true, keyboard zoom resizes windows:true, auto update open documents:false, show Asian text options:false, beep when done:false, dynamic color sliders:true, save palette locations:true, show English font names:true, use Shift key for tool switch:true, number of history states:20, create first snapshot:true, nonlinear history:false, smart quotes:true, image previews:yes, icon preview:true, full size preview:false, Mac OS thumbnail:true, Windows thumbnail:true, append extension:yes, use lowercase extension:true, ask before saving layered TIFF:true, maximize compatibility:ask, recent file list length:10, display color channels in color:false, use diffusion dither:false, pixel doubling:false, painting cursors:brush size, other cursors:standard, grid size:medium, use video alpha:false, gamut warning opacity:100.0, ruler units:pixel units, type units:mm units, column width:180.0, column gutter:11.990478515625, point size:postscript size, guide style:solid line, grid style:solid line, grid subdivisions:4, show slice numbers:true, use additional plugin folder:false, additional plugin folder:missing value, cache levels:4, use cache for histograms:false, maximum RAM use:50, use history log:false, save log items:metadata, edit log items:sessiononly, save log items file:missing value, best type:reference, default type:reference, class:settings-object}
    set ruler units of settings to pixel units
    end tell
    tell application "Finder"
    get document file "pismall.gif" of folder "photos2.fpbf" of folder "Desktop" of folder "bisd" of folder "Users" of startup disk
    alias "Macintosh HD:Users:bisd:Desktop:photos2.fpbf:pismall.gif"
    end tell
    tell application "Adobe Photoshop CS"
    activate
    set display dialogs to never
    open alias "Macintosh HD:Users:bisd:Desktop:photos2.fpbf:pismall.gif"
    current application
    get current document
    document "pismall.gif"
    get height of document "pismall.gif"
    49.0
    get width of document "pismall.gif"
    116.0
    get name of document "pismall.gif"
    "pismall.gif"
    end tell
    tell current application
    offset of "." in "pismall.gif"
    8
    end tell
    tell application "Adobe Photoshop CS"
    save document "pismall.gif" in file "Macintosh HD:Users:bisd:Desktop:photos3:resized:pismall" of document "pismall.gif" as JPEG with options {quality:10} appending lowercase extension with copying
    "Adobe Photoshop CS got an error: General Photoshop error occurred.
    - The parameters for command “Save” are not currently valid."

  • Can I use photoshop text styles and photoshop actions with creative cloud photography?

    I'm really confused by this subscription pricing. If I purchase the $9.99/month, do I get the full desktop app of Photoshop and Lightroom? But I see on this page Products they list something called Photoshop CC that costs twice as much. How is that different from the Creative Cloud Photography?
    My main question is whether I can use photoshop text styles and photoshop actions with Creative Cloud Photography, since I just purchased a bundle that includes these and I want to be able to use them. But I'd also like to understand what comes with all of the various products and how they are different.
    My other question is how is Lightroom different from Photoshop? I have a sense of what you can do in Photoshop but I don't know much about Lightroom at all.
    One more question: the free trial -- is it limited in any way besides the time length? If I do that, will I get a clear idea of all that I will be able to do once I subscribe, or are the functions limited in the trial?
    I tried to just send an email to Adobe to ask these questions but apparently they are not interested in responding to emails from people who are not yet paying customers, so I was directed here. Thanks very much for your help!

    I always like to trot this bit about Bridge once in a while or in the voice of the "Two Bobs" from Office Space,
    "Can you tell us exactly what it is you do around here?"
    What Adobe Bridge does:
    Bridge is the coordinating hub of the Creative Suite. Synchronizing color management settings for all suite programs is done from Bridge, and can only be done from Bridge, to take one important use.
    Bridge displays actual thumbnails of many more file types than Finder or Explorer. It also allows instant play of sound or video files more readily than the native OS file managers.
    Bridge allows direct access to file metadata, to embed copyright information  and keywords where appropriate (e.g., for corporate logo vector and raster files). It also displays the fonts used in an InDesign file, the swatches in an INDD or AI and the output plates (including spot color plates) they use.
    When managing the assets for a design project, Bridge allows quick and simple sorting, rating and custom labeling (with color flash indications) of assets. I can rate images according to whether they are rejects, possibles, for review by client, or approved. The filters built into Bridge allow instant isolation of only the approved images or designs in a folder, only the rejects (for deletion) or only files with certain ratings, no matter how many files it contains. It recognizes aspect ratios, so if I only need a landscape or a 16:9 image in a folder of hundreds of images, I turn off the aspect ratios I don't need.
    Once filtered, the remaining visible files can be selected and copied, moved, or deleted without affecting the rest of the contents of a folder.
    Collections are a massively useful feature. One of my clients is a performing arts center, and in a season we turn out dozens of ads, flyers, brochures, web banners, playbills, billboards and other collateral using the same assets over and over. These assets are organized by artist and/or show on disk, but I set up each season's repeating assets as a Collection in Bridge, so that I just have to open the collection and drag and drop these assets into new INDD, AI, PSD, HTML (in Dreamweaver), FLA or AE projects without having to navigate from folder to folder picking up individual files.
    Bridge's Favorites is another place I stack frequently-accessed folders, such as stock photography, backgrounds, and top-level folders for active projects.
    Assets can be divided into subfolders, but a quick toggle of "Show items from subfolders" exposes all of the assets in a single view while maintaining their organization. I will typically keep AIs, PSDs, EPSs, stock photography and client images in separate subfolders within a project. When I'm ready to start pulling assets into an InDesign layout, I toggle this on and simply drag what I need into the layout.
    Bridge comes with Adobe Camera Raw built in, which is many times faster than using Photoshop to adjust jpegs or tiffs for things like tonal range, white balance, cropping, spotting and sharpening, and is non-destructive.
    One tremendously useful Bridge function for InDesign CS5+ users is the "Show linked files" feature, which opens all the linked files in a layout into a single view, regardless of where they are physically located. I often use this when doing alternative layouts from a client-approved mockup for a campaign, to be certain the same assets are used in each piece, or when creating a motion graphic or interactive piece for the campaign in After Effects or Flash.
    The batch and image processing scripts built into Bridge automate things like creating web-ready small jpegs from multiple images, renaming large numbers of files in place or by copying to an alternative location, creating sets of PSD, png, jpeg or other file types from an assortment of image files, and so on.
    Bridge is so much a part of my daily workflow that on my main workstation I have one monitor dedicated to it almost 100%. Bridge just sits open 24/7, ready for use. I would run at half speed without it, no question.

  • Adobe Camera Raw and Photoshop Actions

    Hi guys,
      I'm having troubles with Adobe Camera Raw settings and Photoshop actions. Basically, here is what I want to do :
      apply settings for the general colours, exposure, tint, etc., but keep an automatic undistortion of the images thanks to the metadata of the CR2 file.
      The preset I've done is working fine, and when I'm in ACR, I can apply the same preset to different photos with different lenses. Then when I'm opening them in photoshop, they look allright.
      The problem seems to appear when I'm creating the action in photoshop. No matter if the lens profile is set to 'auto' in the preset, it looks like it's applying the one from the original preset. Then let's say the preset was created with a 50mm, then when I launch the action on a 85mm, the undistortion is wrong ...
      If anybody has an idea how to fix the problem, that would be really helpful !
      Thanks a lot,
      Julien

    This particular forum (sharing and storage) was created to help those transitioning from Photoshop.com to Adobe Revel. I am moving your post to the correct forum so that it can get proper attention. I understand that it is difficult to determine which forum to post in since there are so many.
    I'll put I this posting in the photoshop community so the experts there can help you.
    We also have many other forums relating to other Adobe products
    http://forums.adobe.com/community/
    http://forums.adobe.com
    Out of curiosity, can you tell me how you found our forum page?

  • Photoshop Elements share plugin

    Hi,
    I would like to know if it is possibile to create a plugin which adds a customized "share" link to the share button in Photoshop elements.
    Is it the same in Photoshop Album [starter]?
    If it is possibile, should I use the Photoshop standard SDK?
    Thanks for the infos!
    sid.

    Hi,
    I tried the same plug in and it was visible under "Filters>Mehdi" folder. If it is not visible to you then it must be  some
    compatability issue between the PSE 5 and Win 7. PSE 5 was released much before the release of Win 7.
    Thnks,
    27Prac

  • How to see filename of loaded Photoshop action?

    Is there a way to view the filename of loaded actions?
    I am trying to find the .atn file on my computer of a Photoshop action that I loaded ages ago and frequently use.  The action was a free download and creates a new document displaying a before and after view of the image I am working on.  I have hundreds of .atn files on my machine and have been unable to identify the one I am using by just scrolling through all the available .atn files in my presets folders.  I also did a search on the computer itself in case the .atn file was loaded from some other folder, but for the life of me I can't find it.
    It would be convenient if there were some way to display the properties of a loaded action that would include the path to the action file.

    Actions are usually stored in one of 2 places. First is within the PS program directory under Presets\Actions (installed drive letter:\Adobe\Photoshop CS5\Presets\Actions) or under you user name and basically the same path but on Win 7 it is a little different (C:\User\username\(Local or Roaming)\AppData\Adobe\Photoshop CS5\Presets\Actions)(I think that is the path. I'm on  XP box right now). So look in both those locations.
    With Win 7 it REALLY likes to hide stuff from users, even users that have FULL Admin rights. If you haven't made changes to the folder view settings, like Show hidden and system file and unchecked "Hide Protected operating system files" it just may be that Win 7 is protecting those .atn file from view.
    More then likely you saved that action set to the default Save location which is in the user profile. So I would start my search there.
    In any event you can start to load action sets until you fined the one that has those that are listed in your screen shot. PS might even be smart enough to come up with a warning when you try to load the same action twice. But I wouldn't count on it. I just tried loading the same action twice and PS CS4 had no problem making a duplicate action set in the actions pallet.

  • Turning a Photoshop action into a pixel bender script

    We have a photoshop action that takes images and 'plasticifies' them. Specifically the action performs several filters that we're looking to convert into pixel bender scripts so that the action can be performed in Flash. I'm trying to discover if there are existing examples to perform these actions, and if not if it would be possible to create them. The filters that are being used are:
    surface blur
    diffuse
    layer copy
    high pass filter
    layer overlay
    hue / saturation
    shadow / highlight
    unsharp mask
    I've attached the script to the post for reference and provided an example below. If this isn't something that we could combine several pre-existing filters together, would someone be up for working with me to create this or provide some guidance on how to move forward?
    Original Image
    Plasticify Effect
    File: autoPlastic_test.atn (created in Photoshop CS4).
    URL: http://drop.io/t7gez0g
    Thanks,
    Roy

    AIF Kevin wrote:
    The Bilateral Blur in After Effects is implemented in Pixel Bender. It  was tricky to get the best possible performance for it. Pixel Bender  works pretty well for Anistropic filtering as well, we are doing that  now for some new stuff.
    Royi A wrote:
     I think in the GPU each basic variable (Pixel) is a vector of 4. Applying something on 4 of items in the vector or only 1 would "cost" the same.Someone of the AIF could confirm it?
    This is sort of true. We do take advantage of the vector types to generate SSE code, but we do it not only within a pixel, but also across multiple pixels so a pixel1 value within your kernel may be computed with pixel1 values from neighboring pixels to improve performance. In general, it is best to write your code naturally and then only look to optimizing at this level if performance is unacceptable and the more obvious problems (minimizing conditional branching, for example) do not solve your problem.
        Kevin
    Kevin, how do you iterate in the Anisotropic Filter?
    One the things I miss is to loop a graph or something like that to iterate over the image.
    Regarding the Bilateral Filter, My first PB kernel was a Gaussian Blur, just to get the feeling.
    At first I didn't use its separability property.
    It was slow, very slow!
    For the Bilateral Filter you have to do even more operations. Unless you implemented its "Separable Bilateral" approximation, Or any other known optimization (Grids, Linear Approximation, etc...).
    What about the GPU case regarding what I wrote?
    Let's set I convert the image into LAB space and perform Gaussian Blur and each time only operate one CurrentPixel.r (The first item in the "Pixel" vector), will that make any performance difference?
    Or even make it completely different. Creating a node which take as input image4 and output of image1 (L Channel). Then Gaussian Blur (2 Nodes) on image1, would that be faster (Again, GPU wise)?
    Thanks.

  • Photoshop Action Question How to Avoid Replace Files Dialogue Box

    I have Photoshop CS3 running on a Macintosh. This Photoshop action on this Mac opens PDFs and saves them as a JPEG to a folder on a server.
    Sometimes the originating file will be modfied, so a new PDF will be created and have to go through the action again. The intent is for the action to overwrite the preexisting JPEG file(s) on the server, because they are out of date and must be replaced.
    The photoshop action on the Mac converts the new PDF to a JPEG, but then stops and shows a "Replace Files" dialgue box, which displays a listing of the name(s) of the JPEG(s) that will be overwritten. The dialogue box reads "Some of the specified files already exist in the target location. The files marked will be replaced." Below that message are two buttons to choose from, "Cancel" and "Replace". I always click "Replace"
    Is there a way to get the the action, (which specifically reads, "With Save Image Files" on the part of the action where it saves the jpg),  to just go ahead and overwrite the existing JPEG file(s) on the server without presenting the dialogue box?

    I can’t test on CS3, but I think the affected features should not have changes since CS3.
    Anyway, I think an Action cannot perform what you want, a Script should be able to, though.
    You could adapt the following code by changing the variable docPath to the correct path of the Folder you want to save the jpgs into.
    If you want to give it a try, paste the following text into a new file in ExtendScript Toolkit (part of Photoshop’s installation, Applications/Utilities/Adobe Utilities/ExtendScript Toolkit CS3, I guess) and save it as a jsx-file into Photoshop’s Presets/Scripts-folder.
    After restarting Photoshop the Script should be available under File > Scripts and can be assigned a Keyboard Shortcut directly, recorded into an Action or started from ExtendScript Toolkit directly.
    // saves jpg into same folder;
    // be advised: this  overwrites existing jpgs of the same name without prompting.
    // 2010, use it at your own risk;
    #target photoshop;
    if (app.documents.length > 0) {
    var thedoc = app.activeDocument;
    // getting the name and location;
    var docName = thedoc.name;
    if (docName.indexOf(".") != -1) {var basename = docName.match(/(.*)\.[^\.]+$/)[1]}
    else {var basename = docName};
    // getting the location, if unsaved save to desktop;
    try {var docPath = thedoc.path}
    catch (e) {var docPath = "~/Desktop"};
    // jpg options;
    var jpegOptions = new JPEGSaveOptions();
    jpegOptions.quality = 9;
    jpegOptions.embedColorProfile = true;
    jpegOptions.matte = MatteType.NONE;
    //save jpg as a copy:
    thedoc.saveAs((new File(docPath+"/"+basename+".jpg")),jpegOptions,true);
    //that’s it; thanks to xbytor;

  • Use Relative Path for Photoshop Action?

    I have a Photoshop Action that is programmed to open an existing file located in a specific directory.  The path to this directory is an absolute path, i.e.:
    C:\Program Files\Photoshop Actions\filename.jpg
    As long as the Action can find the file in the specified absolute path, everything works fine.
    My problem is that if someone tries to run this Action on a different computer (like a Mac), the path specified in the action does not exist and the Action will not work.
    The simple solution to this would be to make the action open the file located at a relative path.  This way no matter what computer the action is run on, it will always be able to find the file.
    Unfortunately, I don't think Photoshop Actions allow relative paths.  Does anyone know if using a relative path in an action is possible?
    Failing this, how would I use a Photoshop Script to somehow direct the Action to find the correct location of the file?  Or is there a better solution?

    The idea that I use in the xtools installer and else where is this:
    1) Convert the action file to XML.
    2) Package the XML file and the apps/ActionFileFromXML script with your stuff.
    3) An installer script will do a 'replace' (or whatever) on the XML file so that the paths are converted to whatever is needed.
    4) The new XML is saved and then converted to a .atn file which is then loaded.
    There is an xtools forum at ps-scripts.com that may have some info in addition to the PDF file that comes with the package.
    -X

Maybe you are looking for

  • No Audio Out Of Headphone Or External Audio Output Jacks

    We have a Rev. B Bondi iMac that I recently put in my wife's 4th grade classroom for her to use. When trying to hook up external speakers I discovered there is no audio output from the side audio output jack or the front two headphone jacks when list

  • How to add a quicktime file to a shake script?

    Hi I just purchased Shake 4.1 and can't figure out for the life of me how to add another quicktime file as a node in a script I am working on. Example: The source node file I sent from FCP which I need to key and add the background image to. How do I

  • ITunes Crashes When Editing Video Tags

    Hi guys I have iTunes 6.0.4.2 and it starts out fine but when I try to edit a video entry in my library, iTunes crashes with the following notification: AppName: itunes.exe AppVer: 6.0.4.2 ModName: quicktimeh264.qtx ModVer: 7.0.4.80 Offset: 0005ae50

  • Cannot verify Yosemite copy

    Hi, iMac 2013. I've successfully downloaded Yosemite, however when I've tried to install it, I got a message saying: "...cannot verify copy of Yosemite, download may be damaged, please download a new copy on the App Store", which I did once, and inst

  • Fuji (X10) EXR support bugged

    Lightroom supports Fuji X10 EXR RAF files since version 4 Beta (and v3.6), but unfortunately it is not working properly. There are two different EXR modes and Lightroom seems to support both, but the outcome is not right. 1) Loading 6 MP EXR DR (200/