JPG export preset in InDesign?

Hi all,
Is there a way to save my JPG export selections as a preset? I have to export JPGs of the same document for two different purposes and they have different export requirements. Is there a way to save my selections as a preset the same way I can save my PDF export selections as presets?
InDesign 7.0.4
Mac 10.6.8
Cheers,
Trish

I'm pretty sure it won't be your fault, but I don't seem to be able to fix it. Try this one but it exports the number of pages squared!  For example a 4 page document gives you 16 jpegs, 5 = 25 and so on.
What am I doing wrong John?  I added in this line: app.jpegExportPreferences.jpegExportRange = ExportRangeOrAllPages.EXPORT_ALL;
//Display a "choose folder" dialog box.
if(app.documents.length != 0){
var myFolder = Folder.selectDialog ("Choose a Folder");
if(myFolder != null){
myExportPages(myFolder);
else{
alert("Please open a document and try again.");
function myExportPages(myFolder){
var myFilePath, myPageName, myFile;
var myDocument = app.activeDocument;
var myDocumentName = myDocument.name;
var myDialog = app.dialogs.add({name:"ExportPages"});
with(myDialog.dialogColumns.add().dialogRows.add()){
staticTexts.add({staticLabel:"Base name:"});
var myBaseNameField = textEditboxes.add({editContents:myDocumentName,
minWidth:160});
var myResult = myDialog.show();
if(myResult == true){
//The name of the exported files will be the base name +
//the page name + ".jpeg".
var myBaseName = myBaseNameField.editContents;
//Remove the dialog box from memory.
myDialog.destroy();
//Generate a file path from the folder name, the base document name,
//page name.
for(var myCounter = 0; myCounter < myDocument.pages.length;
myCounter++){
myPageName = myDocument.pages.item(myCounter).name;
app.jpegExportPreferences.jpegExportRange = ExportRangeOrAllPages.EXPORT_ALL;
//Modify the following to change the Resolution. Enter a figure instead of 300
app.jpegExportPreferences.exportResolution = 300;
//Modify the following to change the colour space. the options are:
//JpegColorSpaceEnum.RGB
//JpegColorSpaceEnum.CMYK
//JpegColorSpaceEnum.GRAY
app.jpegExportPreferences.jpegColorSpace = JpegColorSpaceEnum.CMYK;
//Modify the following to change the jpeg quality. the options are:
//JPEGOptionsQuality.LOW
//JPEGOptionsQuality.MEDIUM
//JPEGOptionsQuality.HIGH
//JPEGOptionsQuality.MAXIMUM
app.jpegExportPreferences.jpegQuality = JPEGOptionsQuality.MAXIMUM;
//Modify the following to change the Rendering Style. the options are:
//JPEGOptionsFormat.BASELINE_ENCODING
//JPEGOptionsFormat.PROGRESSIVE_ENCODING
app.jpegExportPreferences.jpegRenderingStyle = JPEGOptionsFormat.BASELINE_ENCODING;
//The name of the exported files will be the base name +
//the page name + ".jpeg".
//If the page name contains a colon (as it will if the
//document contains sections),
//then remove the colon.
var myRegExp = new RegExp(":","gi");
myPageName = myPageName.replace(myRegExp, "_");
myFilePath = myFolder + "/" + myBaseName + "_" + myPageName + ".jpeg";
myFile = new File(myFilePath);
app.activeDocument.exportFile(ExportFormat.jpg, myFile, false);
else{
myDialog.destroy();

Similar Messages

  • [CS5] Using PDF Export Preset from Distiller with InDesign, doesn't work the same?

    Hello,
    We are in the process of reworking one of our workflows in which we would manually use Distiller to create a PDF. Now we are trying to automate this with InDesign. My first thought was that I could try using the same PDF Export Preset (.joboptions file) used in Distiller, load it into InDesign, and export my book as a PDF using this preset.
    For my current testing example, there are about 115 pages in this PDF document. The PDF that Distiller created is of pretty good quality, and is about 34MB. When I used the same .joboptions file to export an InDesign book of the same original documents as a PDF, the result is equal in quality, but is about 119MB.
    Does anyone know why they aren't even close in file size? Is InDesign packing more stuff (maybe related to the actual InDesign documents, or the book itself) into the final PDF? If so, is there anyway to get InDesign to give a similar PDF (in terms of both size and quality) using the .joboptions file from Distiller?
    Thanks in advance!

    Thanks for the reply!
    I won't be able to use Acrobat Pro, and my hope is to continue using InDesign/InDesign Server. Since my goal is to match what Distiller produces, is there a way (with InDesign) to export PDFs but to strip out the layers/interactivity/transparency that Distiller does not support? The output PDF will be used for archive purposes only.
    Thanks again for any advice!
    -Lloyd

  • Export module in Indesign fails to overprint black

    Hi Everyone. I have a big issue that need help with. I have indesign files for printing that are exported to pdf for imposition. When I open the pdf in acrobat the text that is set to overprint only knocks out, irrespective of the settings I choose in making them. Now, the example: I make a yellow box on a page and type word 'overprint' over it. Indesign by default prints black to overprint (checked the preferences). To make sure it does overprint I duplicate the box and text and set the text in attribute panel to overprint. The page is exported to pdf: both files show that the black is knocking out. Now for the hardware and software: I have CS5.5 with the latest update, using OS-X 10.6.8 Intel core duo 2.26GHz, DDR3 ram and plenty of space. No, I have not installed any new software and no third party plugins. I have recreated the preferences file but no difference. Tried also to export as eps but the same result. I also have a Windows 7 laptop with the same CS5.5 version and this problem is not happening on the laptop, only on the mac. The export engine in InDesign is not working as it should be (the pdf extension if v7.5.2.3) and having a lot of issues getting work ready for printing. Does anyone have any suggestions, ...and how do I get Adobe to take notice of this issue? Much appreciated and thanks in advance.

    No reason I can think of that the PDF would have the Black at knockout.
    You're definitely using the default Black swatch named [Black]?
    Just tried there with your PDF settings, and it worked fine, the black overprinted no problem.
    The only things I can think of is that the Black was not 100% tint.
    or
    It used a transparency from the effects - with isolate blending ticked
    It's a total guess though, I'd have to see an example of the file.
    If you can provide:
    Example INDD file
    Sample PDF
    InDesign go to Adobe PDF Presets and Define... and SAVE the PDF preset and upload that too
    That would be great.

  • How do I set a PDF Export Preset to force a minimum line weight on output?

    How do I set a PDF Export Preset to force a minimum line weight on output?  I'm currently using one that came from a printer that works great - but I can't seem to find the option when creating one myself.  I have some placed Illustrator line art that is built with .25 line thickness and when I have it placed at 20% scale the lines are too thin to see in the PDF output.

    There is absolutely no way to force minimum line widths within InDesign itself, certainly not as part of the PDF export process!! And even one writes a script to go through every object within an InDesign document and both validate and fix line widths less than some particular threshold, such a script would be useless against placed artwork, the contents of which are not available for manual or programmatic inspection within InDesign.
    Note that one should be exceptionally careful in “fixing” hairlines, especially if you are placing vector artwork at very low magnification. It may actually be OK to let certain lines drop out. After a fixup on some content, you could end up with a messy mass of lines.
              - Dov

  • Lost print presets in Indesign CS5

    All of a sudden I was going to print a pdf and the high quality, smallest file size, etc. options were gone.  I have custom or defualt.  Where did the settings go?  How can I get them back?
    I am using Windows 7 64bit.  I have uninstalled and reinstalled both Indesign and Acrobat pro.  I have run a regcleaner.  I am out of options that I know of.  I found the option to load print preset files, but I don't know where the files are.
      Can anyone help with this?  Thanks.

    The presets you mention are EXPORT presets for PDF, not print presets. You can make PDF print presets and save them using those settings, buyt the recommended method of producing PDF from ID is to export.

  • [AS][INDCC] How to set Color Conversion field to No Color Conversion when creating PDF Export preset

    How can i set Color Conversion field in Export to PDF dialog to No Color Conversion when creating PDF Export preset? i have done a bit of searching and have found where it has been recommended to set effective pdf destination profile to use no profile but it doesn't seem to be producting the expected results.

    Yes, it seems that i had to make the change after creation, not while creating the preset. thank you.
    tell application "Adobe InDesign CC"
         set newPreset to make new PDF export preset with properties ¬
              {name:"preset name", standards compliance:none, acrobat compatibility:acrobat 7}
         tell newPreset to set PDF color space to unchanged color space
    end tell

  • HELP - lost pdf export presets?!

    Help! This morning I began work in ID and suddenly discovered that my long list of PDF export presets (which I use for work daily) was simply gone. I have only the default list - screen, print, press, etc. These are very complex presets that I need on a daily basis to produce files for my clients - I really need them.
    What happened?? Nothing is different about today; I went through my standard work process this morning. Nothing traumatic happened to ID. I repaired disk permissions and restarted yesterday, but that was a standard maintenence procedure for me - nothing unusual.
    This morning I noticed that the files in the user>library>pref?Adobe InDesign folder all showed as being modified at 8:30 this morning, when I started work.
    I back up my files and can probably (I hope) recover any missing file - but where exactly is it? I can simply replace the entire preference folder in my user folder...
    thx
    Libby
    TiBook G4/IDCS 1

    Just checking: I think this is what I do now: open Export PDF dialog; set all options,
    and click Save Preset... in bottom left? they then all appear permanently under File>PDF Export Presets and in Export PDF dialog. Is that what you mean?
    (don't mean to bug you, Buko; I appreciate all the help as ever. just trying to collect all new info.)

  • Export preset settings for Print Media?

    i am about to set down and follow rudy gay's tutorial on exporting images with a logo overlay (thanks for all the help in finding this document) and i am wondering if there are an expert or two on the list that might be able to share screenshots of their export presets.
    i have gotten to the point where i have applied metadata to imagery and i had a request recently to send in images that are larger than 1 MB but i have been really confused as to what i am doing here. for instance, i have three projects that were created by importing folders of images from this person which have imagery:
    "print" project = 24.75 MB 2400 x 3600 px
    "ppt" project = 505 KB and1024 x 683 px
    "web" project = 324 KB 1024 x 683 px
    i /think/ all of these are 72 dpi but i am not sure how to check this.
    plus, i just ran an export as JPG at 100% size from the PRINT project and they all landed on my desktop at something over 1 - 4 MB in size.
    basically, i am hoping that someone wouldn't mind sharing their settings and perhaps a little bit of an explanation so i can start to teach myself how to make this work better over here.
    i realize that some of these things may be considered particular to an individual or even proprietary in some way but anything i can get on this will put me much farther ahead than i am now.
    TIA
    jon

    I apologize for not getting to this sooner.
    How are you viewing the PDF that shows the discoloration? Acrobat or some other application? Is overprint preview turned on in Acrobat?
    This is definitely transparency related. When you choose PDF 1.3 you are flattening the transparency and the white lines you see are called "stitching." Thay ae a dispaly artifact in Acrobat (they'll disappear if you turn off smoothing), and though they may show in a low-resolution digital print, they are usually not apparent in high-resolution output from a press.

  • Export presets do not save file naming template

    I don't know if this is a bug or a missing feature so I'll post here first, then submit a bug report if necessary. I have done a search first but not found anything relevant.
    When you create an Export Preset, LR does not save the File Naming Template you want to use with it, the template is always whichever you used last. Seems a bit odd because you might want to use different filenaming conventions depending on what you are doing with the export, eg. different names for proofs, web galleries, etc.
    However, if I am missing something, please me let me know.
    Kind regards,
    mcv

    That's what I see also but what I meant was that two 'options' down, you can choose what 'File Naming' template to use, eg. Filename, Custom Text (x of y), etc. These don't get saved with your Export Preset, they stay the same as the last one you used. At least on my Windows version.
    I don't know how you do enclosures like you did, so I'm linking to the images instead to show you what I mean.
    While I was taking screenshots of this I noticed some other peculiar behaviour. It seems that the preset DOES actually save the filenaming template but doesn't show you this. I'll explain as follows:
    Here I have a template for full size JPEGs, I invented some custom text and that's why the preset says 'edited'.
    http://www.mcvphotography.co.uk/imgs/gallery/4295_168305550246ba83c417104.jpg
    Here I have changed the preset but the File Naming template appears to have stayed the same, though it does show a 'preview' (01.jpg).
    http://www.mcvphotography.co.uk/imgs/gallery/4295_56540006946ba83c532d43.jpg
    However, this is odd - I moved the mouse over the custom text box and the words instantly changed to the words I had last used (Castafo is the name of a band). I had not saved the name of the band in the template.
    http://www.mcvphotography.co.uk/imgs/gallery/4295_117289421846ba83c645133.jpg
    Lastly, I tried another preset and again it appears the template is the same but the 'preview' is correct. Mouseing over did not change any text.
    http://www.mcvphotography.co.uk/imgs/gallery/4295_168262086846ba83c76e439.jpg
    Pretty weird and inconsistent behaviour, don't you think? The software that is, not me - I already know about me(!)
    I always keep an eye on the preview anyway so no big deal but do you have any thoughts Ian, or anyone else?
    Thanks,
    mcv

  • PDF Export Presets

    Hello guys,
    to add a pdf export preset to the indesign server the file has to be placed into a directory like
    /Library/Application Support/Adobe/Adobe PDF/Settings
    on OSX systems and additionally the server has to be restarted. Is there a way to update the preset list without restarting the server? Maybe something similar to
    Application.updateFonts()
    ? I know that a preset can also be added by scripting
    Application.pdfExportPresets.add()
    but what if I would like to import an existing preset file automatically?
    Thanks!

    try below code
        for(var Ep=0; Ep < app.pdfExportPresets.length; Ep++)
            var myPdfPreset = app.pdfExportPresets.item(Ep);
            if (String(app.pdfExportPresets.item(Ep).name) != '[Default]')
                myPdfPreset.remove();
        var pdfExportPresets;
        myPreset=File("path");///give full path of the job option
       app.importFile(1918071916, myPreset);
        myPdfPreset=app.pdfExportPresets.lastItem();
    Mi_D

  • Multi-threaded JPG export

    The slowest portion of my application is the conversion from a generated INDD file to JPEG. More CPU power seems to be the only solution at this point, but because IDS is single threaded, 3 of the cores on the server sit idle during this.
    Is it possible to implement a plugin or Javascript script that exports each page in a separate thread, or similar, thus using all available cores during the export process?

    Hi,
    I think it is possible in InDesign 5 via "asynchronousExportFile".  You can also create multiple server instances and let each instance generate a jpg export.
    Message was edited by: 2i_Geert

  • Which PDF Export Preset used?

    I have an Acrobat PDF that I made about 3 months ago with InDesign CS3 with one of my own PDF Export Presets.
    Is it possible to work out from the PDF which of the Export Presets I used?  I have a new version of the InDesign file that I need to get printed.
    Thanks.

    As someone whose memory seems to be on the decline myself I can sympathise.
    There really is nothing magic about a preset -- it's just a collection of settings with a name that you can pick so you don't have to go through the dilgo adjusting stuff, but if you know what settings are appropriate for the job you can do tham manually, too. There are only so many options.
    There are checks in Acrobat's Preflight that would give you some clues. You can search for images greater or less than certain resolutions, look for color spaces, and so on.

  • Importing of  PDF Export Preset

    Does anyone know how to import an existing PDF export preset into IDS. Ideally I'd like to set up Presets in InDesign desktop and then copy them into IDS, but I cant find where the preset files are stored. Alternatively, I could save existing presets as .joboptions files, and then use the script interface to import them. I cant find the right calls to make.
    Thanks.

    PDF presets are all stored in the same place for all Adobe applications.  If you create a new preset using InDesign desktop it will automatically be available to IDS, and vice versa.<br /><br />On the Mac they're stored in : '/<user>/library/Application Support/Adobe/Adobe PDF/Settings'<br />On Windows: '<user>\Application Data\Adobe\adobe pdf\settings'

  • Can relative file paths be used in export presets?

    Hello,
    I currently use a folder structure in Lightroom that looks like:
    YYYYMMDD-Event
    -->Original
    -->Selects
    -->Output
    I copy original files into YYYYMMDD-Event/Original/, do basic corrections and culling, and export to YYYYMMDD-Event/Selects/.  I do the same thing when exporting from Selects to Output...  I have tried using the "Same Folder as Original Photo" with a subfolder of "../Selects", but i get an illegal character message.  Is there a way to use relative paths in export presets?  I'm not against using publishing services to accomplish this, but I am having the same problem...
    Thanks in advance for the help.

    @Designer1976 – if you place an AI logo in InDesign and move that placed logo to a CC Library, it should behave like any other image you move to a CC Library. Other people who have access to your CC Library could place the logo, print it, export to PDF, if the file is available on a mutual network drive or a cloud drive like Dropbox etc. And of course, if the loaded file is synched which can take a moment, if you just moved it to a remote drive in the cloud.
    I tested this with eps file types.
    AI files (PDFs with AI code embedded) placed in InDesign should make no difference.
    However:
    1. If I placed an eps file in InDesign
    2. Moved the eps file to my Dropbox account
    3. Came back to InDesign
    4. Relinked the placed eps with the one in my Dropbox
    (all good now in the perspective of an InDesign document)
    I was not able to add that relinked eps file to my CC Library.
    By trying I only heard a "blip" or so. And nothing was added.
    To make it work, I first had to:
    1. Save the InDesign document
    2. Close the document (maybe optional, can't remember)
    3. Reopen the document (maybe optional, can't remember)
    Then I could add the placed eps to my CC Library.
    After that it worked like it should.
    Not as seamless as it should be…
    Uwe

  • Noobie Mistake? Export to pdf InDesign Server CS3

    Hi,
    I'm trying to export my open document on InDesign Server CS3 to pdf, but it isn't working.
    I can open, make changes and save, but when it comes to exporting it gives an error:
    "An exception occurred when executing a COM method.
    The cause of this exception was that: AutomationException: 0x0 - The specified object does not support the desired export format. in 'C:\Program Files\Adobe\Adobe InDesign CS3 Server\InDesignServer.exe'."
    Here is my code below. I've tried the export code for pdf with inverted comma's as well, no luck. All the sample scripts do it in this fashion, am I missing something?
    Any help much appreciated.
    myInDesignServer = CreateObject("COM", "InDesignServer.Application.CS3");
    myDocument = myInDesignServer.Open("C:\artwork\my_file.indd");
    myDocument.Export(1952403524, "C:\artwork\my_pdf.pdf");
    myDocument.close();

    Hello Brett,
    I have done some COM programming with IndesignServer CS3 using C#, here is is the way I do a pdf export:
    doc.Export(idExportFormat.idPDFType, @"C:\indesignTestFile.pdf", false, "[High Quality Print]", "Some Comment", true);
    Notice the first argument: the enumeration which specifies the file type and the fourth argument which is the name of an Adobe Pdf Preset. This particular preset should already be installed on your CS3 server. You cant export to a pdf without using an export preset.
    I hope this was helpful, Im no expert myself.

Maybe you are looking for

  • Batch job

    Hi I am working on batch job . my program is printing invoice as well as downloading and I have run this program in batch, I am using the FM job_open , job_submit and job_close. but it is failing in job_submit with sy-subrc eq 1 . giving me error bad

  • How do i delete credit card info off my itunes.

    There is no "none" button next to the credit card buttons, like there is supposed to be.

  • Emagic emi6/2m noise & core audio

    i have the emagic emi6/2m I/O and have a problem that maybe someone can shed some light on. when logic7 launches as soon as the "initializing core audio" message appears on the splash screen, a low volume noise like a constant test tone can be heard

  • Append to a compressed file

    I have some test results that I want to save into a test result file. Since I will be accumulating many test results, I want to keep overhead down, so I would like to simply append the result to the end of the file. Here is what I have done... 1) Cre

  • A50 DVD-RAM drive problem

    Hi, when I try to burn into 8x DVD-R, Nero tells it can burn only at 2x. It should normally 4x. The drive is Mat****a DVD-RAM UJ-820S, FW version 1.0 I think the firmware update should solve this problem, but I cannot find it anywhere. Adrian