CS6 png save options

I've got a major script I use that performs .png saving every few seconds, but apparently there are some new compression options in CS6.  Is there a way for me to have the script use the "Smallest / Slow" compression option if CS6 is in use?  I currently use the script below for saving:
function SavePNG(){
    permSaveFile = new File(permSaveFile);
    pngSaveOptions = new PNGSaveOptions();
    activeDocument.saveAs(permSaveFile, pngSaveOptions, true, Extension.LOWERCASE);
How would I add the extra CS6 save option in while still being able to use the script with older versions as well?  The rest of the script works fine and it saves fine under CS6; the only reason I need to change this is, the output files are HUGE using it, as is, under CS6.  Thanks for any help!
dgolberg

I'm doing something wrong.
I'm not getting any PNG compression in CS6 with this:
function SavePNG(saveFile){
pngSaveOptions = new  PNGSaveOptions()
pngSaveOptions.compression=9  // (level of compression 0 .. 9       0 - without compression)
pngSaveOptions.interlaced=false
activeDocument.saveAs(saveFile, pngSaveOptions, true, Extension.LOWERCASE);

Similar Messages

  • PNG compression options

    I have a question about the PNG save options in CS6. The options are "None/Fast" and "Smallest/Slow", so does anyone know which option would be the same compression that we used to get from CS5 and previous versions? I did a test, and the "None/Fast" option creates quite a large file, so I think the "Smallest/Slow" option is the same as the one that we're used to, but could anyone verify this? Thank you!

    Thank you, Chris

  • CS6 to CS5 save options

    Hi all,
    I have few CS6 and few CS5 system, if corrections has to be done in my CS5 i am unable to do since the images are saved in CS6.
    CS6 to CS5 save options via javascipt any options are available.
    Regards,
    Vinoth

    Hi Vinoth,
    Please find a sample script for the same below:
    myActiveDoc=app.activeDocument;
    var destfile = new File("C://Users//myusername//Desktop//TestScript_CS5.ai");
    var aisaveOptions  = new IllustratorSaveOptions();
    aisaveOptions.compatibility = Compatibility.ILLUSTRATOR15;
    myActiveDoc.saveAs (destfile, aisaveOptions);
    Hope this information helps. Thanks.
    Regards,
    Yogesh

  • Do CS5 or CS6 include a save option save without artboard?

    Hi All,
    I am currently using CS4. Is there an eps save option in CS5 or CS6 that such as save with artboard (boolean).  The CS4 interface allows you to save without the artboard.  Now I as a final step before my save code I have to resize the artboard for my visual bounds of my file.
    Thanks,
    Carolyn

    Hi Carlos,
    At this point could we agree at this point that apple script is save is not working properly (in regards to artboards) when you are dealing with 1 art board and that ulitimately Adobe needs to fix this? I hope to test this soon on AI CS6.
    And, at this point we are discussing which is the best work around.
    That being said, I did some more testing reproducing your results with multiple images.  And yes I would agree that the code works well with 2 images on 2 separate artboards (Only only tested 1 & 2). Somehow using one artboard fell through the cracks.
    I was unsuccessful using the code in your most recent post.  However if I created a document with 2 art boards and with art only on the first artboard then saved via apple script with save multiple artboards set to false and omitted anything for range.  I got the best result. (Oddly I get the same result with one art board and setting save multiple art boards to true.)  The image imported into ID closely cropped.  However, this approach was still flawed.
    -- First the image imported slightly off by about 1 or 2 points too low.  Cut of the very top of the image and added about 1 or 2 points of white space before the bounding box at the end of the image.  My work has to be precise.  I am sure that this holds true for others as well.  This has to be addressed by Adobe before this solution could be considered a viable option.
    -- Second for this solution to work a second unnecessary art board needs to be added. I haven't tried adding one via script before saving.  If that is a case an the first item was fixed this could be a viable work around.  But adding a second art board to 50 to hundred of templates for a work around is not practical.
    Until I see that Adobe has fixed this issue,  I am going to stick with my current workaround.  It provides the accuracy I need.
    Thank you so much for your help and input. It has broadened my view of these save options.
    Carolyn

  • How can I make a CC Illustrator file open in CS6? Save as does not give an option to save as a CS6.

    How can I make a CC Illustrator file open in CS6? Save as does not give an option to save as a CS6.

  • Can Photoshop CS6 Extended save uncompressed DICOM files?

    In CS4 and CS5 Extended layered documents saved as DICOM (.dcm) were uncompressed and could be opened in another imaging program that I use frequently (ImageJ) without complaint. It appears that CS6 Extended saves DICOM files in a compressed format which cannot be directly opened in ImageJ and, as I recall, some other DICOM viewers.
    Does anyone know if there is a way to change to uncompressed DICOM saves? I've looked for save options, but cannot see anything relevant.

    Monitor the file I/O with tools like Sysinternals' System Monitor and check what's causing the problem. Could be a mundane permissions problem with your temporary folders or otehr resource problem.
    Mylenium

  • Alv report save option

    hi experts,
    I have an executable program which displays alv output, my requirement is after the output is displayed in ultilities tab(drop down) we have saving option which is generally disabled.
    how to make this enabled?
    regards,
    jayant

    I guess you are talking about saving variants, aren't you?
    For this you should use
    data: ls_variant type  disvariant.
    ls_variant-report = sy-repid.
    l_variant-variant = 'SOME_SAVED_VARIANT'.
    CALL METHOD gr_alvgrid->set_table_for_first_display
       EXPORTING
          i_save = 'A'   "this will enable save option
          is_variant = ls_variant  "this will set default variant in layout
    Regards
    Marcin

  • Printing BI Publisher report from OAF Page WITHOUT Preview or Save Option

    I have a requirement to print a BI Publisher Report on the invoke of a Button from a OAF Page. I have followed the method suggested in the below link to integrate OAF and BI Publisher.-
    http://apps2fusion.com/at/51-ps/260-integrating-xml-publisher-and-oa-framework
    In this scenario, I already developed Data Definition (XML) and Template (RTF) for the report and a self service page with 'Generate PDF' button. When the button is clicked the template is getting filled with the data from the database and displaying the PDF output. A dialog box with 'Open/Save/Cancel' appears before the PDF document is shown.
    But my requirement is to avoid this dialog box and Save option so when the button is clicked the document has to be directly sent to the printer.
    Is there anyway to achieve this? Please help as this is very urgent..
    Thanks,
    Naren

    Naveen,
    You need to read the documentation here:
    http://www.oracle.com/technetwork/middleware/bi-publisher/documentation/xmlpdocs-084437.html
    All of the information you need is in these:
    Administration and Developer's Guide
    Report Designer's Guide
    JavaDocs
    With the BI publisher (XML publisher) Java APIs, you can call a data template with parameters and get the XML from that.
    For an example that should be very close to what you need to do, see the comments section of this page:
    http://apps2fusion.com/at/ps/294-bi-publisher-document-viewer-common-region-embeded-report-output-in-oa-framework-page-part-2
    Find the comment titled: "Alternative: BlobDomain from data template"
    The great thing about using a Data Template is that, while you are NOT concurrent program dependent, you can still set up a concurrent program to run it for other purposes if you wish. Data Templates offer a lot more flexibility.
    Kurz

  • How to Disable save, saveas option when oprning a file in browser

    hi,
    experts,
    i have a problem when i am viewing a uploaded file in my browser i don't want save , saveas option of word and pdf documents.,
    Please help me as soon as posible.

    hi,
    experts,
    i have a problem when i am viewing a uploaded file in
    my browser i don't want save , saveas option of word
    and pdf documents.,
    Please help me as soon as posible.And what exactly does your question have to do with the purpose of this forum?
    Ask in the right place and you might get an answer, in this case a forum specific to your browser (which you don't even mention, I'm pretty certain that every browser has a different way of doing things like that if they do it at all).

  • Getting prompted to Save As when using Save option

    We would like to deploy Reader XI with Protected Mode enabled. We have noticed that when using the Save option the user receives a prompt to Save As instead. I understand this is a security feature to basically grant Reader/Acrobat permission to save to this location.
    Issue is that we have in house software that opens the PDF using Reader allowing the user to make markups and then save, but if the user saves the file to a different location this will cause the in house software to fail. Older version of Reader with Protected Mode disabled allows just the save to be used and the original file location to be preserved.
    Is there anyway to white list this Directory so that Reader can save to it without a Save As prompt?
    Only fix I know of currently is to disable Protected Mode but we would like to avoid that if possible
    Thanks

    There is a notation in the documentation that may be relevant.
    "Permissions granted by other features often overlap. For example, cross domain policies, internet access settings in Trust Manager, and certificate trust settings for certified documents sometimes interact so that the most permissive setting takes precedence. Users should TEST THEIR CONFIGURATION prior to deployment."
    Have you checked the possible overlapping features?

  • How do i get the "open with" option back for pdfs after accidentally hitting the save option which now automatically saves any pdf?

    Normally when I click on a pdf I would get an option to "Open With" or Save. I usually just opened pdfs first. I accidentally clicked on the Save option in this dialog box and now when I click on any pdf it automatically asks me where I want to save it. I want to get the "open With" option back, because I don't necessarily want to save a copy of every pdf.

    Mountain Lion was released in 2012, so I suppose there might be advice in old threads or on the Apple forums if you don't get a response here right away.

  • How to disable save option from adobe toolbar in Acrobat Reader

    We need to disable Save option from Acrobat Reader plugin in Internet Explorer 8/9/10 version.
    Acrobat version is X.
    Is it possible to disable Save ( Floppy Disk) icon?
    We have disabled printing and copying.
    Please help

    You are, I'm afraid, chasing an impossible security that cannot exist. Many have sought this, but it just isn't there -- and there is so much more than the save button involved.
    If you are a big enterprise with sensitive information consider DRM solutions ($$$$+).

  • Script for Save Options- Save Query Results with document

    Hi,
    Is there any javascript for Save query results with document in save options? If so where can i find that?
    Thanks
    Kalai

    hi guys,
    I found the answer.The following example shows you how to save the results with the query
    section named “SalesQuery”.
    ActiveDocument.Sections["SalesQuery"].SaveResults=true

  • HOW TO DISABLE THE SAVEAS OPTION OF A BROWSER?

    Hi all,
    Nice to be back again folks.....
    Well I need to develop an Applet (perhaps even a swing) which when loaded by any browser would disable the SaveAs option of the browser's File menu.
    I tried using the Frame class of java.awt package, the code is:
    import java.awt.*;
    import java.applet.*;
    public class WinAppl extends Applet
    int mc;
    String str="NO OF MENUS: ";
    Font fnt=new Font("Arial",Font.BOLD,12);
    MenuBar mb;
    Frame frame=new Frame("SNODX");
    Window window;
    public void init()
    frame.setBackground(Color.red);
    frame.setForeground(Color.black);
    this.setFont(fnt);
    mb=frame.getMenuBar();
    if(mb!=null)
    mc=mb.getMenuCount();
    str+=mc;
    else
    str+="ZERO";
    public void paint(Graphics g)
    g.drawString(str,50,50);
    but when this applet is loaded ALL the menus of the browser disappear .i.e when this frame applet is loaded by the browser only the title bar of the browser and a red colored window appear, no menus. I dont want all the menus to be hidden, just the SaveAs option of Browser's File Menu to be disabled.
    Thanks in advance.
    True to my nature I am posting this question in some of the other Java forums as well. And as usual sorry for the multiple postings.
    snodx

    Applets usually have absolutely no control over the browser they are running in (with the exception of loading other web pages and other very high level stuff). You won't be able to write an applet that disables entries in the menu bar. And even if you could it wouldn't really help you because most browsers write everything they download to disc (to the cache) where it can be recovered by anybode.
    Last but not least: there are lots of tools for mirroring web sites that will allow users to download and save anything that is accessible for browsers.
    However, you may be able to disable the menu bar and perhaps even change entries in some browsers like ie by activeX controls or javascript. Still this is not a very friendly way for a website to behave...

  • SAVE option is missing in my File dropdown

    When I open an image in PS CS3 and make a change to it, I used to be able to just click File->Save to save the changes, and I still can on my second PS copy on my laptop.  But on my PC Save is no longer there.  How can I get it back?  The screen below was with an open jpg file in 8-bit sRGB that I made a simple change to and as you can see, the Save option isn't there.

    Very strange.
    Try resetting your preferences as described in the FAQ.
    http://forums.adobe.com/thread/375776?tstart=0
    You either have to physically delete (or rename) the preference files or, if using the Alt, Ctrl, and Shift method, be sure that you get a confirmation dialog.
    This resets all settings in Photoshop to factory defaults.
    If that doesn't bring it back I can only think the installation has become corrupted.
    Does Ctrl+S bring up the save dialog on a new file?

Maybe you are looking for

  • How do I put a PDF on my website?  It needs to be scrollable.

    I have an open PDF in Preview.  How do I put it on a web page of mine?  I took a screenshot of the Preview window, but now the cursor is the little + thing that wants to draw an area to select.  So I don't know whether this shot is scrollable. I need

  • Is there a way to retain the original date after editing?

    I am using PSE 11 on a MacBook Pro, OS X (10.3). I have a lot of old pictures to edit, and they are in date order, which is how I want them. However, when I edit a picture and save it, it moves it to the bottom, with today's date instead of the origi

  • HDD Health: How to check it? HD Tune Pro equivalent for Mac?

    hi all, i was just wondering if there's a Mac equivalent for HD Tune Pro. it's a Windows app i use to check for errors on hard drives. i want to check if an externall 1TB HDD has any bad sectors on it before i use time machine to backup my work. i wa

  • Recurring inspection lot status "created" changed automatically to "Release" without change history

    Dear Experts, I observed that for few materials recurring inspection lot (inspection lot origin 09) status from "CRTD CHCR SPRQ" to "REL  CALC SPRQ PRSI" changed automatically without manual interruption. I have thoroughly checked the change document

  • Delivery could not be created

    Hi Experts, We have several POs type UB stock transport order from plant XXXX to YYYY. For some products in those POs delivery could not be created due to Sales status of material on used sales org. Even though that delivery could not be processed, s