Overprint in Smart Objects

I have a CMYK Illustrator smart object in a CMYK Photoshop document. The smart object contains black line work that should overprint. However, when I preview the channels in Photoshop, the line work knocks out of the other colors. I tried Attributes > Overprint and Appearance > Multiply with the same results.
I can set the smart object layer to Multiply in Photoshop, but that multiplies everything, not just the line work.
Any suggestions for a workaround?
Eric

I see. So if I want black to overprinting Photoshop, I have to make it a separate smart object and set that layer to multiply. Not quite as friendly as I would have liked, but workable.
In my case, I ended up bringing importing a Photoshop file with the color layers into Illustrator and place the vector line art on top of it. This allowed me to keep vector art and control the overprinting.

Similar Messages

  • Illustrator CS4 Text & Shape logo is pixelated when placing as smart object in PS

    I made a Logo in Illustrator CS4 containing text & shape. The lines are crisp and clear at 100% & 200%+. I save my file as an ai and also another version as outlined. But when I copy & paste it into Photoshop CS4 as a smart object it becomes pixelated when I zoom in more than 100%. Is there a way to fix this?
    When I use to do this in CS3 it worked fine, but now it doesn't work. The Photoshop file, placed as a smart object is the one on the left at 200%. You can already tell the pixels are distorted. The one on the right side is Illustrator file at 800% and is still crisp & clean. I've saved as eps, tiff, jpeg from illustrator and when opening it in photoshop and zooming in it's pixelated....and yes AA is turned on in Illustrator and nothing happens when I view as overprint either.
    First, I'd like the logo in jpeg crisp and clear when zoomed in.
    Second, I'd like to resolve the smart object issue in PS. I know a smart object will hold it's quality no matter the resize of the image in PS, but I can't get it to work... Can someone offer any suggestions

    What is the ppi of the Photoshop file?
    And for what it's worth, any raster image will never be as crisp and clear as a vector image, smart object or otherwise. Photoshop shows raster previews even if the actual object is vector. If you zoom in on any raster iamge, you'll see pixelation.

  • Pasting Smart Object from Illustrator to Photoshop Creates "Blank" Object

    Hi,
    I just upgraded to Creative Suite 5.5 from CS 4. Prior to the upgrade, I was able to select objects in Illustrator, copy, and paste them as smart objects in photoshop without any problem. Now when I paste them Photoshop correctly recognizes the dimensions, but when the object is inserted it's completely empty. I've checked the fill and opacity for the pasted layer (both are at 100%). I've applied color overlay blending effects but there's nothing there. It's totally empty. I'm able to copy and paste images from my web browsers and from the system (Mac Lion) clipboard by taking screenshots, but I cannot paste anything from Illustrator. It's just empty.
    Note: I've been using Photoshop for over a decade, so it's not a "I don't know how to copy-and-paste" issue. I've also confirmed that Illustrator's file handling and clipboard preferences are set to PDF and AICB. I've also done a complete uninstall of CS 4 and CS 5.5 (including deleting preferences), and reinstalling CS 5.5. But it hasn't fixed the problem.
    I've Googled this for almost an hour without any luck at finding a solution or even anyone who's having this problem. Anyone out there who can shed some light on what the solution might be?

    Yes >>Preserve Appearance and Overprints<< is checked. 
    Attempts to paste into other applications result in the same empty box. (I hadn't tried this before, so thank you, this makes me think it might be an Illustrator problem rather than Photoshop, but read on. Something isn't right with my CS 5.5.)
    Nothing peculiar about the copied content. I've tried numerous AI files with simple vector images that I've copied as smart objects before. 
    You can't double click the empty SO object, because it's literally empty. It makes an empty layer in Photoshop. (But, when you make a new file or paste into another application, it does see the correct width/height of the copied object - but then it fails to paste it.)
    I've tried placing the AI file in Photoshop and it says "Could not place because of a program error." Is there something wrong with the way my CS 5.5 install is handling vector objects?

  • Open as linked smart object

    Hello,
    iam looking for a solution to open files in a folder
    and copy then into a document.
    Its working good, but i need the files to be linked smart object.
    Anyone knows a solution ?
    Here my Code so far:
    See in line 33. Convert to smart object: ?
    var file = new File('C:/User_MY PATH.PSD'),
    docRef = open(file);
    // Use the path to the application and append the samples folder
    var samplesFolder = Folder('C:/USERS_MY FOLDER');
    //Get all the files in the folder
    var fileList = samplesFolder.getFiles()
      // open each file
      for (var i = 0; i < fileList.length; i++)
      // The fileList is folders and files so open only files
      if (fileList[i]instanceof File)
      open(fileList[i])
      // use the document name for the layer name in the merged document
      var activeDocName = app.activeDocument.name;
      var targetDocName = activeDocName.substring(0, activeDocName.lastIndexOf("."));
      // Copy the Document
      app.activeDocument.selection.selectAll()
      //convertToSmartObject(); THIS ISNT WORKING - CONVERT IT ?
      app.activeDocument.selection.copy()
      // don’t save anything we did
      app.activeDocument.close(SaveOptions.DONOTSAVECHANGES)
      //Select specific layer to paste the copy, this is to make sure the layers are in a specific position
      var doc = app.activeDocument;
      doc.activeLayer = doc.artLayers.getByName("bgr");
      //Paste Document
      app.activeDocument.paste()
      app.activeDocument.activeLayer.name = targetDocName

    Use scriptlistener:
    var idPlc = charIDToTypeID( "Plc " );
        var desc2 = new ActionDescriptor();
        var idnull = charIDToTypeID( "null" );
        desc2.putPath( idnull, new File( "C:\\Photos\\myPhoto.psd" ) );
        var idLnkd = charIDToTypeID( "Lnkd" );
        desc2.putBoolean( idLnkd, true );
        var idFTcs = charIDToTypeID( "FTcs" );
        var idQCSt = charIDToTypeID( "QCSt" );
        var idQcsa = charIDToTypeID( "Qcsa" );
        desc2.putEnumerated( idFTcs, idQCSt, idQcsa );
        var idOfst = charIDToTypeID( "Ofst" );
            var desc3 = new ActionDescriptor();
            var idHrzn = charIDToTypeID( "Hrzn" );
            var idPxl = charIDToTypeID( "#Pxl" );
            desc3.putUnitDouble( idHrzn, idPxl, 0.000000 );
            var idVrtc = charIDToTypeID( "Vrtc" );
            var idPxl = charIDToTypeID( "#Pxl" );
            desc3.putUnitDouble( idVrtc, idPxl, 0.000000 );
        var idOfst = charIDToTypeID( "Ofst" );
        desc2.putObject( idOfst, idOfst, desc3 );
    executeAction( idPlc, desc2, DialogModes.NO );

  • Photoshop CS4 smart object template just overwrote a raw file - HELP

    So.  I've been working in Photoshop extensively for about 6 years now and I am well aware that nothing we do in Photoshop or Lightroom is supposed to overwrite a raw file.  I'm not talking about changing it to something a little lighter or darker, I'm talking about replacing a picture of one baseball player with another one - and the original? Gone. 
    Here's what happened: I have a poster template that contains several layers, 7 of which are smart objects.  I change the pictures in the template by right-clicking the smart object layer and selecting "replace smart object," browsing to the new image, selecting, and here is what SHOULD happen: the target picture opens in Adobe camera raw, I make some small edits, click done or okay or something similar, and that new image has replaced the old one in the template.  What DID happen was this: I followed the procedure above and selected my target raw file, the picture that was already in the template (the one I was trying to replace with my target file) opened in Adobe camera raw.  I thought - Hey, that's wierd!  Closed the ACR dialog and tried again.  Same thing happened.  I opened lightroom and saw - to my HORROR - that the target file had been changed to the same image that was in the template.
    If it clarifies: pictures of player A (who played in 2009) is in all of the smart object layers in my template.  I want to make that poster be of player B (who played in 2012) so I begin replacing all the smart objects.  When I get to the 3rd image in the poster template, Photoshop overwrites my raw file of player B with the smart object photo of Player A.  There were no photos of player A on the network drive that the picture of Player B was on.  But there's one now.  My raw file shows that it was modified about 10 minutes ago. 
    We tried undoing in Photoshop.  That did nothing.  We tried deleting the xmp file.  That did nothing.  We removed it from the lightroom catalog and reimported it.  It is now a picture of Player A from 2009 and my picture of Player B from 2012 is just gone. 
    Anybody have any idea what this could be and how we could avoid it in the future?
    Best,
    Jamey

    mojoimagery wrote:
    Now - JJ - when you say "overlay files" - what do you mean?  Because that feels like a good description for what happened.
    We performed no save operation at any point during the sequence of events that ended with the image in one raw file being replaced by the image in the smart object.
    As I wrote Smart Object layers embedded object is a copy of the original  and if you replace it you replace it with a copy of some other object. Embedded object are copies and independent from the original.  If after creating a smart Object layer who's embedded object is a copy of a raw file and its conversion settings. You change the original RAW files RAW conversion settings the smart object layer raw conversion setting are not changes for its a copy with independent raw conversion settings. When you replace a smart object layers contents you will replace the embedded object and you should replace it with an object the has the same pixel size and orientation. Because there is an associated transform for the object in the layer that is not replaced. The replacement is also a copy.  If the original smart object was created using  File Open where you choose a RAW file  ACR would open with the RAW files current conversion settings.  In ACR you can changes the setting then hold down the shift key to change the open image button to an Open Object button.  Using that button ACR will open a smart object layer in Photoshop the contents of the embedded object is a copy of the RAW file and the current ACR settings.  No File is written Photoshop is not a File Editor its a Document editor that has many data structures for different layer types.  When you replace the contents of a smart object you will be put into a "Place" file selection dialog if you choose a raw file it should have the same orientation as the image being replaced because of the associated transform. When you choose a RAW file ACR will open and you can change the conversion settings however there will be no Open Image button instead there will be an OK button.  There is also a save image button and you can save a RAW file that is a DNG file not a CR2 file. Like the DNG converter. If you click the OK button the embedded object in the smart object layer will be replaced with a copy of the selected RAW file and the current ACR settings. Again there is no file written Photoshop is not a File editor just the embedded smart object data is replaced in Photoshop smart object layer's data structure.
    I do not think the use of smart objects in you process caused what you are experiencing and because it only happens once an a while I feel its more likely caused by some human error made during the processing in those cases. I would look elsewhere for what causing the overlay. In the place file selection dialog it is possible to rename files perhaps even by accident. Programs like LR and Bridge can rename and copy files perhaps overlay other files.

  • Program error when attempting to edit a vector smart object. Help?

    I'm running Photoshop CS6 (13.0.1) 64bit on a MacBook Pro running OS X Lion. About 60% of the time when I try to double click a vector smart object instead of opening it up in Illustrator I get an error that says, "Could not edit original smart object because of program error." This most recent time it was a smart object from vector data I copied and pasted from Illustrator into Photoshop.
    Any idea why this is happening and how I can fix it?
    Thanks.

    Hi there, 
    I got this problem when I installed Adob master collection Over CS 5.
    I had children book story storis which created in Adobe illustrator CS 5 and I created art boards in Adobe photoshop cs 5.
    After installting CS 6 i tried to edit the smart objects and it was not opeinging the smart object file in Illustrator.
    I did some tests.
    1) Right click on smart object layer and click export contents. Save on desktopp or anywhere you want. (I saved on desktop)
    2) I had this file on my desktop (Vector Smart Object10.ai) but it didn't show any icon, which program should open this type of file.
    3) Double click on the file and it pop up a extension window 'Click on change and select adobe illustrator' and press OK.
    4) Go back to your photoshop file and right click on smart object layer and click dit content. now this time it opens up assets in illustrator.
    ENJOY!
    www.4d-studios.co.uk

  • Can you have the same smart object in two files?

    The situation:
    I have a 'base' file A, with two (different) smart objects B and C. Now I want B and C to both contain a third smart object D, and I can't get that to work.
    I can place the same file as a smart object in B and C, but it becomes two different smart objects, which are seperately editable. I would like to be able to edit smart object D and the changes to be visible in both B and C and in turn in A.
    Is this at all possible?
    and please, I'm not looking for workarounds. I have plenty of those, but it would save me a lot of time time if this were possible.
    thanks
    btw working in photoshop CS5

    @PECourtejoie
    That's exactly what I need,
    but,
    some technical issues prevent it from working in Windows Vista or Windows 7
    , I'm on win7
    @c.pfaffenbichler
    That's no problem. just 2 times a ctrl-s. Takes no time at all

  • Blurry smart objects in Photoshop Save for Web jpegs

    I create graphs, etc in Illustrator, place them as Smart Objects in a master Photoshop file before outputing Save for Web jpegs to use as PowerPoint slide backgrounds. Everything created in Illustrator or Photoshop through that process (Quality 80 or 100 with any of the SfW options on or off) Save for Webs are blurry when imported (at 100%) into PowerPoint. The only way I have been able to get anything crisp in PowerPoint was saving a Photoshop pdf. However, that was only the text created in Photoshop. The Illustrator Smart Object part was still blurry. Anyone have any idea on the best process to combine Photoshop and Illustrator files into one file for import into PowerPoint as a clean, crisp background? At this point I am open to all suggestions.

    There are parts that are being added in Photoshop, hence going from Illustrator through Photoshop as a Smart Object and then onto PowerPoint. If I wasn't 5 months down the line and just nearing deadline, I would recreate everything in Illustrator. Assuming that I have to continue at this point down the Illustrator through Photoshop line of working, how do you designate pngs or jpegs to be 220ppi. Jpegs have a 1-12 quality (and 12 is still blurry).
    Note regarding PowerPoint, I embed the full-page image into the background so others that are using this can't move (by accident or on purpose) the background.

  • Smart object - what happens to the pixels when i transform?

    So i place an image into an open photoshop document, using the place command, of course. it is now a smart object, my question is when i transform or resize without constrain proportions( for example only enlarge the width, the hight unchanged) resample should occur right? are there pixels added only to the width and what kind of resample method is used? oh and how about when i warp this smart object, how do its pixels behave then?

    Good day!
    As far as I know the Image Interpolation Preference should determine the resample method.
    Regards,
    Pfaffenbichler

  • Open as "Smart Object" from ACR to PS questions.

    I have 2 questions associated with opening from ACR as a Smart Object in Photoshop. I'm using CS4.
    1. Is there a way to retrieve the original filename (complete with path) using a script or a setting somewhere to do this? I'm currently using Bridge Talk to ask Bridge what the active folder is then adding that to the document's .name property and taking off the " as Smart Object-1" part. Then I add a .psd extension to it and then I have to save it to retain that name unless there's an answer to #2 below.
    2. Is there a way to change the Document's name as described above from "Filename as Smart Object-1" to "Filename.psd" without actually saving it?
    It seems to me there would be a simple way that I might be overlooking here.
    Thanks
    Mike

    Sorry, I guess I need to explain better.
    I wrote a script to do this, but here is this portion of the workflow:
    1. Open CR2 file in ACR and make adjustments.
    2. Open as Smart Object in PS.
    3. Script Events Manager activates this script on Document Open, checks to see if it was opened as a Smart Object. We'll assume it did.
    4. The script asks me if I want to make another layer. I pick yes. The script copies the SO layer, sets an inverted mask, and opens to edit settings in ACR again.
    5. I adjust the settings for that layer in ACR and click OK.
    The script will keep looping between 4 and 5 as long as I pick YES.
    This gives me more local control of areas. If I want to bring out eyes a bit, I can up contrast, saturation, sharpness, brightness, exposure, or whatever looks best for the eyes in ACR, then unmask the eyes as much as I want on that layer in Photoshop. There is more data to pull from in the RAW file vs trying to do the same thing within Photoshop.
    Opening as a regular image file then converting to a SO doesn't give me the same control. I would have to reopen the file separately, make the adjustments in ACR, open to PS then copy that document and paste as a new layer in the original.
    Duplicating the document might work also, but I can also just save as .psd at that point since I'd have to know the path name by then anyway. I'll give that a try, though, and see if it might work better. The only catch with the save part is it slows me down waiting for it to write the file and if I have 5+ SO layers, it takes awhile. Once I unmask where I want, I flatten to a rasterized layer and continue.
    Thanks

  • Open as smart object malfunction

    A strange thing occurred. "Open as smart object in Photoshop" does not work for one photo from photo session.
    It works for all the other but for this one it is clickable but nothing is being opened.
    It's like nobody has selected it.
    Lightroom 2.5
    Photoshop CS4
    OS Snow Leopard
    Any clue?

    This hack: http://kb2.adobe.com/cps/401/kb401629.html?
    Is Edit in Photoshop CS5 enabled?

  • Documents with Smart Objects - Very slow to open and Save - CS6 Photoshop

    When opening and saving documents with smart objects photoshop freezes the adobe PS loader (circle dots) is replaced and the system loader (multi colored wheel of death) spins for 30 seconds or more.
    What I've tried so far based off looking at various posts.
    Photoshop Preferenes
    Save in Background off
    Maximise PSD and PSB file compatability never
    Cache Tile Size: 128k
    Advanced Graphic Processor Settings: Basic & Normal
    Layer Panel options: No Thumbnail
    Observations and workthroughs to date
    The file size and amount of smart objects effects the file expotentially i.e. The more smart objects you have the worse it gets
    These files worked perfectly in PS CS5
    It also happens on files natively created in PS CS6
    The CPU is maxing out at 100% while PS loads
    Closing or opening suitcase has no effect.
    System:
    iMac 27-inch, Mid 2011
    Processor  3.4 GHz Intel Core i7
    Memory  16 GB 1333 MHz DDR3
    Graphics  AMD Radeon HD 6970M 1024 MB
    Mac OS X Lion 10.7.5 (11G63)
    Suitcase 4
    Anyone got any ideas? This is making me go nuts!

    A solution!
    It turns out the problem in my case was in fact Suitcase. Previously, I'd tried turning it off, but that didn't fix the problem, so this time, I uninstalled it completely and the problem disappeared. I then began re-adding it (installed 15.0.1, upgraded it, etc.) and the problem resurfaced with the addition of the Photoshop-specific plugin. Deleting that plugin solved the problem. So it seems that "disabling" Suitcase by stopping the TypeCore doesn't seem to actually disable all of the tentacles it sticks into your system.
    You can find the plugin here: Applications / Adobe Photoshop CS6 / Plug-ins / Automate / ExtensisFontManagementPSCS6.plugin
    (After a restart, I also had to delete the font cache, as described here http://helpx.adobe.com/photoshop/kb/troubleshoot-fonts-photoshop-cs5.html but your mileage may vary.)
    Alternately, if you don't want to delete the plugin, disabling it from within Photoshop seems to work as well. To do that, go to File > Automate > Extensis, click Preferences..., then deselect Enable Suitcase Fusion 4 Auto-Activation.
    Fortunately, the plugin doesn't seem necessary at all to use the the core functionality of Suitcase (enabling and disabling fonts) in Photoshop. I didn't even know what these app-specific plugins did until researching this problem, and I still don't quite understand the point of them. I guess they allow you to let the apps for which they're installed do a little bit more of their own management (enable a font via Suitcase that isn't enabled system-wide), but that seems like more control than I need--if I'm enabling a font, I want all my software to be able to use it.
    Anyway, the problem seems to be completely solved on my system now, though I just did all this, so more testing over the next few days is required. I'll post here if any issues crop up. I'm interested in hearing if this solves it for anyone else as well.

  • I cannot open a file from LR5 into CC2014 unless it is a smart object. also will not save back to LR at all it gives me an error message "Line: 1 -   photoshop.notifyLightroomDocClosed ('lightroom-2.0', 'B53AFA39-A49B-4709-A9BD-0B6467C175C3', 'Macintosh H

    I cannot open a file from lightroom into CC2014 unless I open it as a smart object. CC opens, just will not display my image. i am given an error code when I save an image, and can only save to my desktop or other locations, not automatically back into my lightroom.
    I am using LR5 latest update, as well as CC2014
    Below is the error message:
    Line: 1 ->  photoshop.notifyLightroomDocClosed ('lightroom-2.0', 'B53AFA39-A49B-4709-A9BD-0B6467C175C3', 'Macintosh HD:Users:BPexposures:Desktop:_DSC5962 as Smart Object-1.psd');

    I was also having this issue, and I did some more searching and found this answer in the Adobe forums: Re: Photos from Lightroom 5 to Photoshop CC (2014) and back.... The issue appears to be caused by having not updated Lightroom to the latest version prior to having CC2014 installed (wow that's stupid). The trick seems to be to uninstall Photoshop CC2014 and to then reinstall it after having upgraded to Lightroom 5.5.

  • Replace smart object script

    Disclaimer: I do not know how to script, but am willing to learn and am looking for advice.
    I need to replace the text in a smart object from a data list then save the updated file using the smart object text. Is there an existing script that will do this?
    I cannot use a straight text layer because I'm performing a free distortion warp on the smart object that does not work on straight text. Using variables seems like a logical solution, but the only variable type for smart objects is "visibility".
    Plan "B" is to "replace smart object" with a series of PSD files containing the appropriate text. This works great, but I don't know how to automate it. I can easily create the series of PSD files using variables, but don't know how to automate their insertion into the template containing the distorted smart object.
    I'm looking forward to learning something new!

    I took a quick look at your script.
    I do not know where the the displacement map come in,
    The script seem the be replacing the object content of the current smart object layer.
    That layer can have had all sort of photoshop functions associated with it and has an associated transform.  All smart object layer have an associated transform and may have smart filters and filter mask as well.
    I see no code to handle the smart object size and make the replacement object have the same size or insure the replacement object is the aspect ratio and size.  Replacing  a smart object content does not change the current layer's associated the transform that transformed the original object. If the replacement object is not the same size as the original object the transform may not work like your expecting.
    An associated displacement map may come into play because of smart filters on the smart object layer. Displacement  maps content are either for the layers content or for lower layers content to make the current layer to conform to lower layers contours.
    In fact I create a four image picture package template that used a smart object for the image. Added CS2 for a file type that could be used to replace the image  in your script and ran your script.  It did pop up the ACR dialog if I select a raw file but it worked perfectly for my portrait cr2 files are the same size and aspect ratio. Ast the object.
    And a jpeg was saved to my desktop.
    When a different size landscape orianted portrait image is selected here is the result

  • Batch Replace Smart Object With Different Image Quality and Sizes

    Hi there,
    I need help. I have this template that is in 1000x1000pixel and 300 dpi. I'm trying to replace the smart object inside with various JPEG that I have. These JPEG comes in large image sizes but lower than 300dpi. The issues is, when I run the script that I have, some of the pictures become really pixelated. Beforehand, I resized them to fit into the empty place in sizes that I find fit the best (8 cm x 6 cm). Some of them work okey, but then some of them just pretty bad. I'm wondering if you can help me fix the script that I have so I didn't have to resized the images before running the script, and for all of them to automatically fit into my template without altering the quality of the image that I put in.
    below is the script that I am using and the screenshot of my template:
    #target photoshop
    if (app.documents.length > 0) {
    var myDocument = app.activeDocument;
    var theName= myDocument.name.match(/(.*)\.[^\.]+$/)[1];
    var thePath = myDocument.path;
    var theLayer = myDocument.activeLayer;
    // psd options;
    psdOpts = new PhotoshopSaveOptions();
    psdOpts.embedColorProfile = true;
    psdOpts.alphaChannels = true;
    psdOpts.layers = true;
    psdOpts.spotColors = true;
    // check if layer is smart object;
    if (theLayer.kind != "LayerKind.SMARTOBJECT") {alert ("selected layer is not a smart object")}
    else {
    // select files;
    if ($.os.search(/windows/i) != -1) {var theFiles = File.openDialog ("please select files", "*.psd;*.jpg;*.jpeg;*.tif", true)}
    else {var theFiles = File.openDialog ("please select files", getFiles, true)};
    if (theFiles) {
    // work through the array;
    for (var m = 0; m < theFiles.length; m++) {
    // replace smart object;
    theLayer = replaceContents (theFiles[m], theLayer);
    var theNewName = theFiles[m].name.match(/(.*)\.[^\.]+$/)[1];
    //Raise color picker for Back cover;
    try {
    app.activeDocument.activeLayer = app.activeDocument.layers[app.activeDocument.layers.length - 1];
    // =======================================================
    var idsetd = charIDToTypeID( "setd" );
    var desc7 = new ActionDescriptor();
    var idnull = charIDToTypeID( "null" );
    var ref2 = new ActionReference();
    var idcontentLayer = stringIDToTypeID( "contentLayer" );
    var idOrdn = charIDToTypeID( "Ordn" );
    var idTrgt = charIDToTypeID( "Trgt" );
    ref2.putEnumerated( idcontentLayer, idOrdn, idTrgt );
    desc7.putReference( idnull, ref2 );
    var idT = charIDToTypeID( "T " );
    var desc8 = new ActionDescriptor();
    var idClr = charIDToTypeID( "Clr " );
    var idsolidColorLayer = stringIDToTypeID( "solidColorLayer" );
    desc7.putObject( idT, idsolidColorLayer, desc8 );
    executeAction( idsetd, desc7, DialogModes.ALL );
    } catch (e) {};
    //save jpg;
    myDocument.saveAs((new File(thePath+"/"+theName+"_"+theNewName+".jpg")),psdOpts,true);
    ////// get psds, tifs and jpgs from files //////
    function getFiles (theFile) {
    if (theFile.name.match(/\.(psd|tif|jpeg|jpg)$/i) != null || theFile.constructor.name == "Folder") {
    return true
    ////// replace contents //////
    function replaceContents (newFile, theSO) {
    app.activeDocument.activeLayer = theSO;
    // =======================================================
    var idplacedLayerReplaceContents = stringIDToTypeID( "placedLayerReplaceContents" );
    var desc3 = new ActionDescriptor();
    var idnull = charIDToTypeID( "null" );
    desc3.putPath( idnull, new File( newFile ) );
    var idPgNm = charIDToTypeID( "PgNm" );
    desc3.putInteger( idPgNm, 1 );
    executeAction( idplacedLayerReplaceContents, desc3, DialogModes.NO );
    return app.activeDocument.activeLayer

    Thank you for your answer.
    I was resizing it before from bigger image size to a smaller one (121 cm to 8 cm) which fit my template size. But the dpi remains in 72 which makes the picture pixelized.
    I am wondering if I can find a script that will keep the size of the first image that I put on the template for other images that I place, regardless the size they are imported to. Basically, how to make them all fit into the template regardless the size.
    Thank you for the info about the scripting forum. I will write there too.
    Sorry, I'm so new to this

Maybe you are looking for

  • How to import only "missing" E-Mails from backup?

    Hello everyone! I have a problem with mail. I set up a new MacMini (w/ Mavericks, i7, 2014) from a backup of an older MacMini (also Mavericks, i5, 2012). I used the migration client and it all looked just fine, when I first started working on the new

  • Is there a good T9 texting app?

    After using a regular phone for so long, i've gotten used to using the t9 word to text. Is there a good app that uses T9?

  • How to publish certificateRevocationList

    How to publish the certificateRevocationList of iDS 5.1 in order to access it via LDAP ? In which format the crl will be published ? Thanks in advance Bernd

  • Plot a Chart from sql query

    Hi I am trying a plot a graph using the values from one of my table. I am filtering the data using timestamps. When I use direct SQL against the database it is retrieving all the data. However When I am using the same SQL query to plot a 2D line Grap

  • MultiSelect Not Working in Experience Manager When Adding Location

    We have a refinement that is enabled for multi-select both working as expected on the site and in the reference app. However, when I try to create a rule in Experience Manager and have the location include two dimension values from the refinement tha