Batch Process Export As and Save As JPEG Question?

What is the method for creating scaled JPEGs from PNG files with batch processing (File | Batch Process...)?
Application environment: Fireworks CS4.
Using History panel, I manually captured instructions
Modify | Transform | Numeric Transform (13%)
Modify | Canvas | Fit Canvas
File | Save As (JPEG)
History panel's saved JavaScript file script:
fw.getDocumentDOM().scaleSelection(0.11999999731779099, 0.11999999731779099, "autoTrimImages transformAttributes");
fw.getDocumentDOM().setDocumentCanvasSizeToDocumentExtents(true);
fw.saveDocumentAs(null, true);
Running this sequence as a batch job requires manually selecting JPEG and "okaying"
CS4 documentation for saveDocumentAs is defined with different argument list: fw.saveDocumentAs(document) .  CS4 documentation also has: fw.exportDocumentAs(document, fileURL, exportOptions) to export JPEG (80% quality).  CS4 feature File | Image Preview... | Export does not create a history record for guidance.  I cannot find an example of either instruction save a file to a local folder in JPEG format.  My objective is to add an additional batch step Rename (prefix) for the JPEG output, and script this a a batch process.

Joyce,
Thank you.  Your suggestion helped clear my mental log jam.
Fireworks batch scripting seems to work in reverse.
Using "Batch Process..." scripting interface 'Export' (as JPEG) option first, 'Rename' (add Prefix) option second, and then follow these by using the history panel's 2 previously saved steps (Numeric Transform, Fit Canvas), batch process now works.  PNG file (list) is saved in targeted folder as a reduced scale JPEG with a prefixed file name.
Batch Process allows the entire newly defined command sequence to be saved (script.js).  Placing this (renamed) file into Firework's batch look-up directory for scripts (C:\Documents and Settings\account_name\Application Data\Adobe\Fireworks CS4\Commands) does not work.  The file name does not display in "Batch Process" window "Batch options:" Commands drop-down list.
Batch Process only works by recreating the above steps each use.
The new (JavaScript) file is 26 KB.  Is script file size limited in Fireworks "Batch options:" feature?

Similar Messages

  • Is it possible to print a calendar in iPhoto'09? Or at least export it and save it in any other format?

    I constructed a calendar in iPhoto'09, but I can't buy it, as my country (Russia) is not on the list in the drop-down box of the countries.  And I can't export it and save it in any other format so that I could print it off myself.  Would upgrading to iPhoto'11 help in any way?  I understand it might not be possible to buy a printed calendar, as this service might not be available for Russia, but would I be able to at least export it to a different format?  Thanks.

    You can export your calendar in to pdf and print it wherever you want)
    В iPhoto есть экспорт в pdf, сохрани его в этом формате на компьютере, а потом тебе в любой типографии распечатают)

  • How do I edit RAW photos and save as jpeg?

    HI! I have some RAW photos that I want to edit and save as jpeg. Will the edits compromise the file and how do I then save these edited files as jpegs and will that compromise the files? THANKS!

    What do you mean by “Will my files be compromised“?
    When you edit a photo with iPhoto you’re Original file is preserved exactly as it is, there are no changes made to it whatever.
    will I be able to make a readable disc?
    Why not? But what do you mean by “readable” Readable by who?
    Regards
    TD

  • Batch Process Export Layers Script

    I know how to break down a layered file using the Export Layers Script, and it works pretty well for me.  What I want to know is if there is a way to create an action using this script, that I can apply to multiple files and batch process in Bridge?  I have created an action that in theory should work, but I keep getting stop errors when I actually run it.  Has anyone successfully created an action that can export out multiple layers of multiple files?

    Joyce,
    Thank you.  Your suggestion helped clear my mental log jam.
    Fireworks batch scripting seems to work in reverse.
    Using "Batch Process..." scripting interface 'Export' (as JPEG) option first, 'Rename' (add Prefix) option second, and then follow these by using the history panel's 2 previously saved steps (Numeric Transform, Fit Canvas), batch process now works.  PNG file (list) is saved in targeted folder as a reduced scale JPEG with a prefixed file name.
    Batch Process allows the entire newly defined command sequence to be saved (script.js).  Placing this (renamed) file into Firework's batch look-up directory for scripts (C:\Documents and Settings\account_name\Application Data\Adobe\Fireworks CS4\Commands) does not work.  The file name does not display in "Batch Process" window "Batch options:" Commands drop-down list.
    Batch Process only works by recreating the above steps each use.
    The new (JavaScript) file is 26 KB.  Is script file size limited in Fireworks "Batch options:" feature?

  • Batch processing with a re-save Script

    i have a script that i use to re-save a master file that may or may not have many layers, channels and/or paths.  when i have the master file open, i run the script and it flattens the image, deletes all the channels and paths, and then does a "save as" step saving the file as a tiff with lzw compression.  this all takes place without any user input or dialogs.  the script is copied at the bottom for reference.   i have made an action out of this script and it works fine everytime.  the problem is that when i try to batch process multiple file with this action, it seems that regardless of which options i choose in the batch processing window for saving (e.g. "none", save and close", etc.), the action is interrupted with the usual "save as" dialog window and even though lzw is specified in the script, i also have to manually select this option in the dialog.  does anyone know how to accomplish what i am trying to do (batch "save as" with lzw compression to files that are saved as uncompresseed tiffs) without having to stop for any dialogs?  please help!!!!  thanks.
    johnh h.
    if(documents.length){
    var saveFile = new File(activeDocument.fullName.fsName);
    SaveTIFF(saveFile);
    function SaveTIFF(saveFile){
        tiffSaveOptions = new TiffSaveOptions();
        tiffSaveOptions.embedColorProfile = true;
        tiffSaveOptions.alphaChannels = true;
        tiffSaveOptions.byteOrder = ByteOrder.IBM;
        tiffSaveOptions.imageCompression = TIFFEncoding.TIFFLZW;
        activeDocument.saveAs(saveFile, tiffSaveOptions, false, Extension.LOWERCASE);
        activeDocument.close();

    hey michael,
    your reply made me curious to try something i hadn't tried before which was to run the "batch" processing from within photoshop and to my surprise it worked.  however if i repeat the exact same thing from within bridge (although in bridge i am selecting multiple files instead of the enclosing folder) it runs into the same problem.  so you have 1/2 solved my problem.  did you actually get it to run properly from bridge (bridge/tools/photoshop/batch) or did you run it from within photoshop itself?  please let me know... i am very curious to detmine the source of the problem.  thanks.  i appreciate the help.

  • Batch Process - Export Settings - File Name Template syntax?

    Can anyone explain the syntax for the File Name Templates in the Export Settings of Batch Process?  Back in the good ol days of Audition 3, I could use ???????? to keep just the first 8 characters of the original filename for my processed files.  In CS6 there are a few templates, but no decent explanation as to what they do or how to create your own.  Can anyone shed some light? 

    Yes, I believe %n is the original name, but what sort of syntax is available to modify the filename ?  There is one that does "%a\%d\%t -%s" for instance, but I don't know what it does.  And you aren't allowed to use * or ? characters, which really limits wildcarding. 
    The one I am needing to do is rename original files that are 12 characters long -- 00000x00_001.wav -- to just the first 8 characters -- 00000x00.wav
    I should probably put this in another post, but does anyone know offhand how to get the "interpret sample rate as" to work in a batch "favorite" process?  I do the action when I am creating the "Favorite" but it skips that step when applying it to a file. 

  • InDesign server export .pdf, AND save .indd

    Hey all,
    Just a quick question. Is it possible to script InDesign server to export a .pdf to a certain folder location AND save the original .indd file to another folder location all automatically?
    Cheers,
    Steve.

    Sure. I suppose the typical way to tell it where to put the files would be to pass the paths as parameters to the script and retrieve them with app.scriptArgs.get(). See the SDK for more info.
    Jeff

  • Open Tiff, rotate, resize and save as JPEG (using JAI)

    I 'm having a hard time getting my arms around the JAI classes to perform
    this transform. I've looked at the tutorial and api, etc and did not get
    very far.
    I have the code to open the TIFF, and save as a JPEG. My question is how to
    go from there to do the manipulations (rotate, resize)?
    If anyone knows how to do this with JAI classes, please let me know.
    Thanks,
    Bill Pfeiffer
    My code:
    try
    SeekableStream input = new FileSeekableStream("C:\\S1000000.TIF");
    FileOutputStream output = new FileOutputStream
    ("C:\\S1000000.jpg");
    TIFFDecodeParam TIFFparam = new TIFFDecodeParam();
    ImageDecoder decoder = ImageCodec.createImageDecoder("tiff",
    input ,TIFFparam);
    JPEGEncodeParam JPEGparam = new
    JPEGEncodeParam();
    ImageEncoder encoder = ImageCodec.createImageEncoder
    ("jpeg",output,JPEGparam);
    RenderedImage ri = decoder.decodeAsRenderedImage();
    encoder.encode(ri);
    input.close();
    output.close();
    catch (IOException e)
    e.printStackTrace();

    For Rotation....
    1) add the following function to your code.
    private RenderedImage rotate(int degrees, RenderedImage src, Interpolation interpRotate) {          
                             try {               
                                       float radians = (float)(degrees * (Math.PI/180.0F));
                                       ParameterBlock pb = new ParameterBlock();
                                       pb.addSource(src);
                                       pb.add(0.0F);
                                       pb.add(0.0F);
                                       pb.add(radians);
                                       pb.add(interpRotate);
                                       src = (RenderedImage)JAI.create("rotate", pb, null);
                                       pb = new ParameterBlock();
                                       pb.addSource(src);
                                       pb.add((float)-(src.getMinX()));
                                       pb.add((float)-(src.getMinY()));
                                       pb.add(interpRotate);
                                       return (RenderedImage)JAI.create("translate", pb, null);
                             }catch (Exception e) {               
                                       return src;
    2. call this function before the "encoder.encode(ri);" line in your code. I pass "new InterpolationBilinear()" for the interpolation parameter of the function.
    For scaling...
    1) add the following lines to your code after or before you rotate the image.
    ParameterBlock pb = new ParameterBlock();
    pb.addSource(ri);
    pb.add(1.1F); //play with these 4 lines to make the image bigger or smaller (1.0F is actual size)
    pb.add(1.1F);
    pb.add(0.0F);               
    pb.add(0.0F);               
    pb.add(new InterpolationNearest() );
    t = (RenderedImage) JAI.create("scale",pb,null);
    hope this helps. Just play with it a bit. You'll get it.

  • Export, convert and save messages

    I usually save all my messages by simply dragging the files from Nokia Phone Browser into a folder on my computer. It turn out that this wasn't very useful and I am not looking for a way to convert all my messages (sms & mms) into somthing I can import to a mailbox in Thunderbird och Outlook.
    As I no longer have all messages on my phone but only the .vmg- and .mms-files stored in a folder on my computer I wish to convert those, but if it there is a way to pull them directly from my phone into Outlook, .eml-files, or something other importable format that'll work too.
    Any ideas?
    wa.se | pocduc.com | jargong.com

    I am familiar with how Outlook stores data. The best thing would be if there was a smart way to convert everything to emails, but it guess it will be a little awkward since they have number instead of email addresses...
    Point is that my stored messages-files does not have readable headers which make browsing and finding messages really hard.
    So, I change my question and ask, is there any good (open source preferred) to browse and view exported messages.
    wa.se | pocduc.com | jargong.com

  • Export pdf and save as using digits.pdf eliminating all the text characters from the source file.

    Hi all,
    Usually when we export pdf from indesign or whatever software,,, the pdf file naming will be as per source file...
    eg.,  123456_dfdfjljf_ULCC.indd will be exported and saved as 123456_dfdfjljf_ULCC.pdf.
    my request is "the pdf should be saved as 12345.pdf avoiding all the characters following first digits.
    hint: first digists may be more or less than 4 digits....
    My request is any number of digits should be saved as 23232.......pdf and avoding the following characters.
    please help me... i have hell lot of pdf to export from indesign.......
    thanks
    bobylon.

    There is no "whatever" here - when you export from InDesign or other software each piece of software makes its own naming decisions. It isn't an Acrobat or JavaScript thing at all.

  • How do I capture a Frame and save as jpeg

    I can't figure out how to just take one frame and export as an image file. Help!

    If the frame has a lot of movement between the fields you may want to deinterlace first. To do this go modify>make freeze frame. This loads the frame into the viewer as a still. You can then apply the deinterlace filter and then export as advised above.

  • How do I freeze a frame in a QT mpeg4 file and save as jpeg?

    I've been trying to do this with set poster frame in QT 7 and it doesn't work. Or it may be working but I have no idea where it's putting the file.
    In QT 10, there is no set poster frame choice. There must be a simple way of doing this, right? If you know, please share!
    Thanx.

    Aren't you glad QT 10 is the 'newest' version?
    You need to use QT7 that should be now in your utilities folder. Yes, lack of features is actually now a feature at Apple. I wonder what changed behind the scenes so that they had to cripple their flagship audio/video editing app and make people use two applications with the same name.

  • I get an error message in itunes when I try and save my security question answers.  This is stopping me from downloading music.  What could be the problem?

    I try and buy a song in itunes.  But, It keeps taking me to the security questions in which it won't accept.  Thanks

    Also I now can`t access any of my itunes library and am concerned that if I remove it from my computer I will lose everything as I have no option of accessing and therefore backing anything up. Any ideas?

  • Acrobat stripping out clipping paths from jpegs in batch processing

    Acrobat 8.
    I'm using the batch processing feature for watermarking both
    fpo jpegs (and low res pdfs) and I've noticed that when saving to
    jpeg, clipping paths in the original jpegs are lost.
    How do I get acrobat to retain the clipping paths?
    Thanks,
    TGMike.

    Hi,
    This isn't really the best place to post your problem as this
    is the forum for the acrobat.com service. I would advise you to
    check out the regular Acrobat forums at
    http://www.adobeforums.com/cgi-bin/webx/.3bbeda8b/

  • Photoshop 7 - batch processing is no longer doing save as

    I have had Photoshop 7 for many years.  I have been using several resizing and sharpening batch processes which have saved a resultant file at the end with a different name.  In the Batch process an original folder was selected and a destination folder and the file name changed with a different custom prefix.  I have been using these batch processes with no problems for years.  Without warning I have noticed that all of these batches are no longer working and the end result is one file in the destination folder, ie it must me overwriting.  I have tried to recreate the basic batch process again  and have resorted to using both 'save; and 'save as' at the end of the process in different test batch processes and the same result happens pretty much each time, the one file after the original folder had 5 images.  I have noticed that 'Save as' is not showing up in the actions of the batch process (only shows as 'Save' irrespective if you selected 'save' or 'save as'.  It is like Photoshop is refusing to accept 'save as' with a new file as a valid action.  I have also tried to check the override 'save as' box etc.  If you edit normally in Photoshop and 'save as' for that image, there are no problems
    Going nuts as I am a team photographer for a team playing in a national competition and therefore have a large volume of images to edit/resize
    cheers
    Hockeysnapper

    Windows XP previously, Windows 7 now (has been for about a year). 
    Computer is according to 'device and printers', ACPI x86-based PC, with Intel Core i5-3450 [email protected], and Xeon processor E3-1200 v2/3rd Gen Core - was all put together last year.
    Drives are nowhere near full.
    Only recent update has been Java on the weekend, coinciding with when I first noticed the issue.
    I have deleted Photoshop 7 off the computer using Windows 7's delete program function as there is no uninstall.exe file in the PS7 folder.  I deleted it out of Startup and off the Desktop.  I also deleted the remaining plugin folder containing Noise Ninja anti-noise software.
    I reinstalled the PS7 software again and in PS7 I expected the batch processes now to only contain the default batch processes, but all of my created ones are there in the list - this says they are not deleted in the uninstalll process.  Where are these stored on your computer so I can delete these perhaps?  However I am unconvinced that will actually achieve anything (see * below).    I deleted a few of these using the trashbin off the Actions palette.
    I created the numerous variations of the batch processes again, with 'save as overrides' box checked/unchecked and still no joy.  What I have noticed it does not matter whether you used 'save as' as one of your actions it has replaced it with 'save' every time (*).  How does/can that happen?  All the other 'save' actions for any of the other batch processes all show as 'save' now.    There is of course no option to change the 'save' in the actions to 'save as', eg right click mouse or something.
    I haven't found anything related in Google searches.

Maybe you are looking for

  • Mail is corrupting PDF attachments

    about 25% of the PDF files I receive as attachments show as an icon in the top part of the msg, but also show as unreadable hex "text" in the bottom part of the msg. If I click on the PDF ICON in Mail.app, it opens fine in PREVIEW.APP IF I forward an

  • Error while loading text data from R3 to BW

    Hi, After mapping my DataSource created in R/3 system to my Infosource, I was taken to the maintenance screen of the transfer structure. I proposed the transfer rules. But my traffic signal of my transfer rule is not turning green. If I continue to a

  • Can I use Applescript for Scriptinh in Bridge?

    I use all of the CS2, but am new to scripting. From reading the Photoshop and InDesign Scripting guides I can see that I can use either Applescript or Javascript. But I cannot find any reference that indicates that Applescript can be used by Bridge.

  • Measurement and Automation explorer or the Instrument I/O Assistant is not installed correctly.

    I am having difficulties getting Labview to work with my NI card.  I have a PCI_6225 card running on a Win 7 64-bit install.  I had to download all of the drivers and installers from the NI site and during the Labview install, I recieve a prompt aski

  • IMac problem

    I have an iMac 24 in from 2008. Suddenly my monitor froze and then I tried to open it again but it stucks on the star screen with some yellow stamps on the white part. Can someone tell me what it may be? I still cant open it.