Export JPEG

I'm working in CS3, Windows, VB. Can anyone tell me why this code won't produce a file?
The only other thing I've tried is Ind.Selection(1).Export with these same parameters, which produces a file but only at 72 dpi, not a 900 dpi as I set in the JPEGExportPreferences.
    Set Ind = CreateObject("InDesign.Application.CS3")
    Set IDoc = Ind.ActiveDocument
    With Ind.JPEGExportPreferences
        .ExportingSpread = False
        .JPEGExportRange = idExportAll
        .JPEGQuality = idJPEGOptionsQuality.idHigh
        .JPEGRenderingStyle = idBaselineEncoding
        .PageString = "3"
        .Resolution = 900
    End With
    IDoc.Export idExportFormat.idJPG, "c:\jgpfile.jpg", False
Thanks for the help,
Ken

Hi Ken,
This is the code for VB, You have to set jpg size to the page and then export page as jpg then you get what you are expected.
Here oFigureGroup is the selected item, oInDoc is the indesign document, olPg is the current page
oFOGeo = oFigureGroup.GeometricBounds
oPgHeight = oInDoc.DocumentPreferences.PageHeight
oPgWidth = oInDoc.DocumentPreferences.PageWidth
oInDoc.DocumentPreferences.PageHeight = oFigureGroup.GeometricBounds(2) - oFigureGroup.GeometricBounds(0)
oInDoc.DocumentPreferences.PageWidth = oFigureGroup.GeometricBounds(3) - oFigureGroup.GeometricBounds(1)
oFigureGroup.GeometricBounds = oIPg.Bounds
oIndsn.JPEGExportPreferences.Resolution = 300
oIndsn.JPEGExportPreferences.JPEGExportRange = idExportRangeOrAllPages.idExportRange
oIndsn.JPEGExportPreferences.PageString = oIPg.Name
oInDoc.Export idExportFormat.idJPG, "d:\test.jpg", False
oInDoc.DocumentPreferences.PageHeight = oPgHeight
oInDoc.DocumentPreferences.PageWidth = oPgWidth
oFigureGroup.GeometricBounds = oFOGeo
Please let me know any other requires.
Regards,
sudar

Similar Messages

  • Exporting Jpegs from Lightroom - DPI question

    When I export Jpegs from Lightroom, I set the dpi to 300 pixels per inch. I do not specify a max width or height. When I view these files in Adobe Bridge (CS2 or CS3) the file info says 300dpi. However, when I open the files in Photoshop and select image size, It says 72dpi and has the document size set to very large. I realize that I can enter 300 dpi and uncheck the resample box, I am just confused as to why this is happening.
    My concern is, that I upload my images directly to my lab after exporting from Lightroom. Will this cause problems?
    Thanks in advance!
    David

    the image resolution is a combination of the two parameters you mention: size and dpi. a very large size at 72 dpi is equivalent to a small size (like 3x5) at very high dpi. for printing you want at least 240 dpi at the largest size that allows you to keep that resolution. for screen presentations or your web site you want jut 72 dpi. 72 dpi and 2x3 inches will require a very small file size.
    I suggest you to export images at TIFF and not JPEG as that will allow you to preserve the image quality when doing editing in PS.
    In my case I export TIFF for PS (when I need PS editing) and 72 dpi JPEG for my web site (that way if somebody downloads my image illegally thy get a poor resolution copy). But since LR works very well for me 90% of the images re just kept in raw mode and I print from LR.

  • The difference in sharpness and overall contrast between LR5 and LR4 low res. export JPEGs

    Installed the evaluation copy of the LR yesterday and as always compared with the previous version (4.4) of the program. The first and not very pleasant difference was the sharpness of the exported JPEGs in low resolution. In full resolution exports it is not that much noticeable. As you may see on the below photo LR4 export is noticeably sharper than LR5. All the export settings were the same in both versions. I used my saved export preset for both JPEGs. The LR5 exported JPEG is slightly lighter than the one in LR4.4. Both photos look the same in develop mode screen, so the difference is in export processing.
    Would be great to know hear the experience, thoughts and comments of others about it.

    Rufat Abas wrote:
    I also hope that it'll be fixed soon.
    Yeah, all other bugs in Lr5 I've been able to find acceptable workarounds for, but I'm not sure what to do about this one for the mean time - any ideas?
    If no acceptable workaround can be found, then +1 vote: 5.0.1 in a hurry.
    Rob

  • What's the deal with large white blocks in exported jpegs

    I just exported my first job I ran through Aperture. Out of 736 files, 9 were flawed. When opened, the exported jpeg had a missing section of the photo, that was all white. The white block appeared in random spots but always on the edges. The problem didn't occur the second time around with the same 9 files/ this time processed in a batch of 9.
    I need to know how to export files reliably - in my workflow, I don't have time to double check file quality.
    Has anyone seen this issue? I've seen it with 1.1.1 and 1.1.2.
    I'm shooting with a 1ds mrkII.
    MacBookPro   Mac OS X (10.4.6)  

    i've seen this too, in other odd ways. it seems to affect the images that i've spotted (with the patch tool) and have other corrections/adjustment applied. its almost like the GPU gets too overloaded to accurately recreate all of the image mods. the image seems to be segmented into smaller rectangular sections that probably get loaded into the video card's memeory and the adjustments and corrections are applied on smaller, more managable sections. when the image is stitched back together something goes horribly wrong!
    the sections tend to be mis-matched with some completely black, some that have black spots where the patch tool was applied, other sections have what looks like a white overlay that's 50% opaque. sometimes even my thumbnails come up with the same results as these malformed exports. i've been able to shake them back to normalcy by toggling one of the corrections (spot/patch, highligh/shadow, etc). after the thumbnail updates properly, the export usually works fine.
    this is definitely a bug with aperture and i would report it as such. attach and send the image to the bug report if you can!
    scott
    ps: for what its worth, i'm usually shooting with my Nikon D200 these days.
    PowerMac G5 2.5GHz   Mac OS X (10.4.7)   MacBook Pro 2.0GHz

  • RAW and Exported Jpegs in same catalog

    I use lightroom to import raw files from my Nikon. Then i edit them and export the good ones to jpeg on my network share for viewing. When i import jpegs from my compact camera i import them directly to my network share. Before i always had the jpegs in to the same catalog just under the other path. But now with face recognitioning i get the face from both places with the exported ones. Is there a way to stack the jpeg with the raw file so that they only show once?

    Raw and Jpeg next to each other can be treated as the same file, but only if they are in the same physical folder and have the same name.
    Are your exported Jpeg files then re-imported into LR in a different folder? That's a problem for what you want to do (and in general I don't recommend reimporting duplicate images).
    LR could do a great job of managing your network share using a published folder, if you included the Jpegs from your compact camera on the loca folder along with the raw images. With publish services and a published folder, LR will create (and remove) Jpeg images in a managed location you choose, and you don't need to worry about reimporting duplicates.
    mh++

  • Artifacts on exported JPEG

    One of my exported JPEGs has three or four vertical lines across it, like scratches on old movies. Has anyone else seen this? Is it worth keeping the evidence, or should I just re-export and hope the problem never recurs?

    Not sure what happened to my last attempt at posting, but anyway, this already came up on the forum yesterday - the thread can be found at http://discussions.apple.com/thread.jspa?threadID=672936&tstart=75 .
    Apparently it only affects Intel macs and only when 'fit to dimensions' is used, and only with images from certain cameras. Still not good, though. I'd suggest submitting feedback and sample images via the Aperture feedback page at http://www.apple.com/feedback/aperture.html .
    Ian
    G5 2x2GHz, tiBook 1GHz 15", MBP 2GHz 15"   Mac OS X (10.4.6)  

  • PC based client cannot see keyword tags on my exported JPEGs, PC based client cannot see keyword tags on my exported JPEGs

    Hey,
    Im having a very wierd problem that I can't quite get my head around and would appreciate some help!
    I am delivering exported JPEGs from Aperture to a client workning in a PC environment. These photos are all Keyworded, and these keywords show up when i click the "get info" button on the exported files. Also, I was asked to double check using Adobe bridge, and low and behold, all tags are there, I can see them, and so can anyone else with a mac. (and yes I did select the embed metadata in exported files button on export!)
    The problem is that when they move to the PC environment, noone can see these tags. This is a huge problem, as I am delivering around 1,000 photos to be archived in a smart database that uses the tags to sort the photos.
    HELP!

    The Keyword, as with Captions (Description in Photoshop) is not found in file properties, but must be seen with  true photo app.  OSX does provide that in a Get Info window, but that will not necessarily be true in other operating systems.  Knowing the apps they have used to search for the Keyword is important.
    Ernie

  • White stripes in exported JPEGs

    Dear Friends,
    I use Windows XP SP 2, Indesign CS 2 (Vers. 4.0.5).
    I use the Indesign in-built jpeg export function very often because I need the output for some flash presentation (flash book).
    But the output is sometimes distorted with white stripes.
    I really hate this - because I can see these white stripes also when I work in Indesign with High Quality View Mode.
    To eliminate them I need to scroll the distorted page out of the screen and scroll it into back again.
    Then there aren't any white stripes on the screen or in the resulting jpeg-Output of this page.
    But for 100 or more pages this "solution" is not practical.
    There are workarounds like Apple- or Javascript Indesign-Macros for exporting all pages as PDFs and then converting them back to JPEG in Adobe Photoshop, for example. But the Indesign export-to-jpeg function is very simple, easy, straight-forward and fast. But these white stripes must go away.
    Is there an update for Indesign CS 2 to eliminate this problem?
    What is the reason for this really annoying problem?
    I thank you very much for your help and support!
    With best Regards

    Well - but when the exported JPEG has to be small - then Photoshop rasters the fonts very unreadable. - Indesign is better in rastering the fonts when it is exporting the stuff directly as JPEG-Files. The font is much more readable then.
    Btw.: Is there a way to setup the font-rasterizer of Adobe Photoshop to improve readability of rasterized fonts?
    Thank you for your help and support!
    With best regards

  • Exported JPEGs Distorted in Shadow Areas

    I own a Nikon D7000 and I shoot 14bit RAW.
    In Lightroom 3.3 the preview images were distorted, only in development mode the images were fine. I reported to Adobe on this and they seem to have fixed this issue.
    In Lightroom 3.3 -- and still in 3.4 -- the exported JPEGs are distorted when the exported image is resized:
    A lighter version of the same crop (for illustrative reasons):
    As you can see, the gradient has serious artefacts, especially when going from green to black. It is a 90% JPEG quality exported of 1050px width. I have seen this for different image qualities (80-100%), though. This does not occur when the image is exported full size.
    Can anybody confirm this?
    It seems that this only happens for dark shadows.
    I had a Canon G9 that I used with Lightroom and I have never seen a behaviour like this. Right now the export is useless to me.

    I've had some discussions about this with Adobe folks during the LR 3 beta phase, but that is all behind a wall now. I think they did put in the dithering into Lightroom now. I still think it is your monitor profile. Also realize that the displays in laptops including the MacBook Pros are not actually full 8-bit displays and you will always see some banding in them. See for example this page: http://www.lagom.nl/lcd-test/gradient.php My guess is that that will show banding on your machine in the shadow areas. Also another issue is that you have to look at these displays at precisely the right angle because you will get raised shadows by quite a bit if you look at them just a few degrees off. One thing to do is to use a test image ( I use monitor_test_txt22.png from this page: http://www.normankoren.com/makingfineprints1A.html ). When you squint the image should be uniform. If not slant the display until it looks uniform.

  • Exported jpegs unable to open on some TVs: need to pen in MS Paint and then save again!!! (Noooooo!!

    I export jpegs from InDesign to be displayed on flat screen TVs for a client. On some TV models they are unable to load the jpegs and the only work around is to open them in MS Paint (I am on a Mac so boo!) and save as a jpeg again.
    Can someone please advise what the problem is and how I can fix this, rather than having the client use MS Paint to fix?
    Many Thanks.

    My best guess is that you have exported your JPEGs in CMYK colour space and your TV does not understand it. Make sure you have chosen RGB as Colour Space in Export JPEG window.
    There´s some other options too that you could try to toggle (like Format Method and Simulate overprint which may cause troubles in some special target devices)

  • IPhoto '11: Export (JPEG) size not working

    I keep all my photos taken with iPhone 4 in iPhoto '11 ver 9.42 (710.42).
    It is a very excellent app to mange my photos.
    Recently I need some photos from iPhoto for the use in my web project.
    So I export them in JPEG, choosing "high" quality and "large" size.
    Yet, some of the exported JPEG are still in the original size of 2592 x 1936.
    I have tried other size options, but those (same) JPEG are always in the original size.
    What happened?
    I appreciate if gurus here could help me.
    Thank you very much.

    If the pref file was damaged your test library would have exhibited problems also. Try the following:
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    Download iPhoto Library Manager and launch.
    Click on the Add Library button, 
    navigate to your Home/Pictures folder and select your iPhoto Library folder.
    Now that the library is listed in the left hand pane of iPLM, click on your library and go to the Library ➙ Rebuild Library menu option
    In the next  window name the new library and select the location you want it to be placed.
    Click on the Create button.
    Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments. However, books, calendars, cards and slideshows will be lost.
    Note:  your current library will be left untouched for further attempts at a fix if so desired.
    Also there's a new update for iPhoto, 9.4.3.  Wouldn't hurt to update to that version.

  • Exported Jpegs not readable by Powerpoint via finder

    When I export from Indesign CC 2014 as JPEGs the files are greyed out when importing into other applications, i.e. PowerPoint 2011.
    It seems indesign isn't creating a proper Jpeg with correct meta Creator & Type data so other programs know its a .jpg.

    I've tried all RGB, CMYK & Grey, no luck.
    Looks like a bug. There is something wrong with exported jpegs at least on OSX. If I get the file type with AplleScript an exported jpeg returns ????, while a PS jpeg returns JPEG.
    tell application "Finder"
        set myFile to choose file with prompt "Select a file"
        display dialog file type of myFile as string
    end tell

  • Issue exporting JPEGs

    Hi there,
    I'm having some major issues exporting JPEGs from inDesign. Where I've been successful before on another copy (a workmate's) my newly purchased copy of inDesign CS5.5 is being troublesome.
    What I want to do is select a series of images in a small area, some of which are on top of one another, and export them as they appear onscreen.
    Admittedly I could do a screengrab to do this but they won't necessarily be in the resolution I'd like and more annoyingly I would have to remove all the surrounding images and bits of text to create a clean image. This is far too time-consuming for a task I need to repeat.
    Every time I attempt to export (via File>Export then "Selection") the resulting file has the overlaid images (in this case small labels on a map) incorrectly placed, not even on top of the main image itself and in fact thrown off massively in seemingly random directions.
    Anybody any ideas as to how to resolve this?
    Thanks

    @ Peter, thanks for the help but I don't understand what you mean by 7.5.2. My InDesign is 5.5.
    There's the slight prolem that the image in question is copyright and currently unreleased. I've edited it to show what the problem is though.
    The two circles on the right should be overlaid on top of the image to the left, as I say, they're keys to the map. I'm trying to work out how they've moved so far away and made the resulting JPG so wide. The upper circle should also be on top of the lower one.

  • Exporting jpegs-- why do I get 72ppi when i set resolution at 240ppi ?

    Why does Lightroom export jpegs at 72ppi resolution-- when I clearly set it at 240ppi in the export window? It has done this for versions 1.0-1.2.
    For exporting psd or tiff-- everything works as planned. Anyone have a solution?
    Thanks.

    Do not click on the minimize metadata checkbox. The resolution is meaningless anyway, but if you want the field uncheck that box.

  • Exporting JPEGs out of Lightroom3 to be projected on a screen

    I export JPEG files via a Lightroom 3 preset to an email attachment and then to be projected on a screen. 
    The color space setting I use is sRBG.  Is this setting the same as sRBGIEC61966-2.1 used in CS5?  When projected, my images are soft while  they are tack sharp in Lightroom 3 or CS5.  A fellow member of my camer club thought that the export setting could be the problem and that he always used sRGBIEC61966-2.1 from Photoshop CS5.  Any suggestions to resolve this problem?
    rbg

    That's the correct color profile for typical computer displays.
    If you are using LR's built-in "email" preset for export - then that's your problem. This preset makes for small email attachments, but poor image quality. It deliberately scales your image size down to 640 x 480, which is just 0.3 mega-pixels (same resolution as bad cell-phone cams). It also compresses image quality to only 50%. No wonder they look bad when blown up large!
    You should find out what resolution their projector runs at (typical sizes are 800x600, 1024x768, or 1280x1024). Export your pictures at that size or larger, and choose at least 80% quality setting or higher.

  • Exporting JPEGs from InDesign CS4

    I've exported jpegs from InDesign CS4 for years and each time I get an Export JPEG dialog box that gives me the option to adjust the resolution. Suddenly, when I export to JPEG, I get no dialog box and it automatically creates a JPEG at 300 dpi. I've looked everywhere in Preferences to see if I inadvertently changed settings, but I find nothing. Help?

    Try this forums.adobe.com/thread/526990

Maybe you are looking for

  • Free of charge delivery and free goods

    hello, I need clarification  on the following. There are two different things. one is free of charge delivery and the other is free goods. 1) for free of charge delivery, order type is  FD , I think we have to maintain TANN(with pricing as B,100% dis

  • Is it possible to reduce the number of HTTP calls when using a ReportViewer control?

    My application is written in .Net 4 using Visual Studio 2010 (version 10 of the ReportViewer control). The report in question contains a lot of data in the dropdowns used for parameter selection. For example, one dropdown contains 95k options and ano

  • My itunes got wiped out.  I have re-installed it but

    the music files were on a external, but I lost all playlists, playcount data, ratinngs etc. All of this data is still on my ipod. Is there any way to upload it to the new itunes library?

  • Adding Additional Parameter in Oracle Reports -- Is this Possible?

    Hi, Please help me with this predicament: There are several reports being called through a single form, wherein a common parameter list is being used. Now I need to add another parameter called BLANKPAGES to one report only. Is it possible for me to

  • PO Change Order Number!

    Hi friends, If i want to make some changes in existing purchase order before GR, i want to make it using a different change order number for the existing PO number so that i can review the history of changes being made. Plz help out! regards