Determining DPI of an image-only PDF

Does the Adobe SDK provide the ability to determine the DPI used for an image-only PDF? I have a set of PDFs and need to be able to sort them into those that were produced by scanned at 300DPI and those scanned at 600DPI.
Can anyone point me to examples of how to use the SDK to analyze a PDF file for this characteristic?
Thanks,
Tim

The EASIEST way to do this is to just use Acrobat Preflight - either via Batch or Droplets - to do the sorting for you.
You can create profiles that check for image resolution and then have the output (which either matches or doesn't) go into different directories.
Leonard

Similar Messages

  • We have version 10.5.8 photoshop CS3 for Mac. How do we fix a problem with photoshop not resizing dpi? For example we resized a 72 dpi image to 200 dpi, when we do a pdf analysis it read as 344 dpi.

    We have version 10.5.8 photoshop CS3 for Mac. How do we fix a problem with photoshop not resizing dpi? For example we resized a 72 dpi image to 200 dpi, when we do a pdf analysis it read as 344 dpi.

    Sounds like it's a problem with the Acrobat settings. Did you set them to the same resolution?

  • PDF Export reducing dpi on jpeg images

    Using Pages to create a book manuscript to submit to createspace.com which I have successfully done in the past. However createspace's automated reviewer indicates that the first 2 jpegs in the pdf have been reduced to 144 dpi, although the images are 3264 by 2448 uncropped. Identical images later in the book were converted without the dpi reduction. I've tried both replacing the photos and creating the pdf using both the PRINT dialog with photopaper setting and export with best setting.  It seems to be a bug within pages--- any suggestions on workarounds?

    Since you could be talking about any version of Pages, but are having problems that are usually associated with Pages 5, let's assume that you are talking about Pages 5.
    Have you tried exporting the book from Pages '09 instead?
    Peter

  • How can I find out the dpi of an image in Acrobat.

    How can I find out the dpi of an image in Acrobat. I have tried the pre-flight option but I really don't understand the pixels width x depth information that I get. I basically just want to know at dpi of a single image. Is there other program that will read my pdf file and tell me this information.

    Thank you, tylerdurdain! That was ridiculously difficult to find. Not sure what version of Acrobat you're using in your image, but for those using Acrobat Pro 11 (in Mavericks), it's buried under View > Tools > Print Production.
    That opens a panel on the right.
    To keep from having to chase it down this way each time, right click on "Output Preview" and choose "Add to Quick Tools Toolbar". That adds a button to the top right of the toolbar.
    Now you can call up the inspector with one click. Choose Object Inspector as tylerdurdain shows above, then click on the item displayed to get its properties.

  • Dynamic Images in PDF Report

    Hi,
    I want to create Badges from employee table (ID, NAME, JOB_TITLE, PHOTO). I downloaded and installed a demo application "USING DYNAMIC IMAGES IN PDF REPORT". It works fine with smale images < 20K. I'm getting the following error for images > 20K :
    "ORA-06502: PL/SQL: numeric or value error: raw variable length too long"
    it seems like a buffer problem.
    could you pls help to solve this problem
    Thanks,
    Ribhi

    Hi Carsten
    That was exactly* I was looking for. Maybe I should Google more in German ;-)
    The main problem was that I defined my image outside the first repeating group (that doesn't repeat, it's always just one object) - the first group is followed by 7 more.
    Just like the "Name" (that's positioned outside the group in the document header), I positioned the image above the table representing the group.
    Doing that, the "Name" is filled correctly, the Image only when the Output Format is Excel or HTML - not Word or PDF ... makes no sense but that's tje way it is.
    After moving the image inside the group....it works great!
    (One more thing...the image size is fixed to the image you use as "dummy". Is there any way to make that more flexible, because now some scaling happens...)???
    @Trent: That was the way we initially did it, but when the size of the row exceeds 32K...you know what happens.. And even with a small image the 32K limit is hit easily
    The way I use it now (very similar to Carsten's description) there is no limit....
    Thank you all!
    Roel

  • "View in Place" inline images and PDFs in Yosemite Mail

    I'd like to have the "View in Place" option available for images and PDFs, but it appears to be missing in Yosemite Mail. It would be particularly helpful with this new Markup feature. Any ideas how I might do this?

    When I drag a PDF or an image (TIFF, JPEG, etc.) into the body of an Apple Mail message, I see an icon of that file.
    There used to be a contextual menu option to "View as Icon" or "View as Image" in previous iterations of Mail, but now with Yosemite, I am only able to send the message with the image or PDF file viewed as an icon. As a comparison, when Composing a message in the Gmail desktop web interface, you can click on the Insert Image Icon, and you are given the option to insert the image "Inline" or "As attachment." I like having both options and I wonder if there is a Terminal command or third-party solution to restore this functionality.

  • Error while converting Image -to- PDF and then to PDF/A

    Hi,
    I'm trying to convert a Image format(JPEG,bmp,tiff) to PDF and then to PDF/A. I could able to convert Image to PDF successfully.
    I'm getting the below error while converting the PDF(that was generated) to PDF/A.
    Caused by: com.adobe.livecycle.output.exception.OutputException: Input Document is a already flat PDF Document
    at com.adobe.printSubmitter.PrintServer.transformPDF(PrintServer.java:307)
    at com.adobe.printSubmitter.service.OutputServiceImpl.transformPDFInTxn(OutputServiceImpl.ja va:518)
    at com.adobe.printSubmitter.service.OutputServiceImpl$4.doInTransaction(OutputServiceImpl.ja va:481)
    ... 106 more
    Error OCCURRED: ALC-DSC-000-000: com.adobe.idp.dsc.DSCException: Internal error.
    Please give me the solution to convert PDF to PDF/A?

    I've just read a footnote in the API documentation which indicates that the transformPDF function cannot be used for this purpose:
    "GS_Enterprise said on Nov 24, 2007 at 12:03 PM :
    Please note that the parameter "inPdfDoc" for transformPDF assumes that the stream content is an XFA-based PDF, and that it's not an XFA-based PDF with a PDF background (also known as "XFA foreground"). In other words, this function does not convert any input PDF to PDF/A, but only those PDFs generated from an XFA template which does not include any static PDF content as a background."

  • TIFF images in PDF documents

    Just looking for a short answer, no technical details needed: Is it possible to store TIFF images in PDF documents without losing information?
    Thank you in advance,
    k.

    >On my own computer it seems I only have options to save it as jpg or zip internally.
    That's correct. The PDF specification supports many more forms of
    compression. Than this.
    > Can't find any options to save it as TIFF internally.
    That's correct. A PDF image is stored as a collection of pixels NOT as
    an embedded graphic format.
    The collection of pixels may be compressed according to one of many
    compression schemes. There is JPEG (internally called DCTDecode) and
    ZIP (internally called FlateDecode). FlateDecode is completely
    lossless, so if what you are concerned about is loss of picture
    quality, this is the one to use.
    A ZIP compressed PDF is typically going to be about the same size as
    the corresponding ZIP compressed TIFF.
    Aandi Inston

  • Embedding image in PDF works fine in CS2 but not CS3

    When we create a PDF from CS3 with the images embedded and then open it on a CS2 machine it warns us about the fact that the file was created in a newer version of illustrator and then opens the file.
    When we try and open the file on a CS3 machine it tried to relink the files and will not display the embedded images (they must be there as they are there when opening it in CS2)
    Is there anything we can do to sort this?
    Thanks
    Danny Seager

    I don't have AI 13 (CS3), so I can only take a guess at this.
    >If we open that file in illustrator CS2 then we get a warning about the file being created in a later version but it opens fine and keeps the images embedded. - this works fine.
    AI 12 (CS2) opens the AI 13 file because it was saved as a PDF. Saving as a PDF always embeds images because PDF was intended primarily as a READ ONLY document format. You don't have to have the original fonts and linked images -- they're all there in the PDF.
    Try saving your AI 13 file as a native .ai
    without PDF compatibility. What happens when you try to open that in AI 12?
    I'm going to guess you saved your PDF out of AI 13 with Illustrator editing capabilities intact. That's of no use (or potentially troublesome) to AI 12, so it just uses the PDF portion of the file. AI 13, on the other hand, sees the editable AI portion of the file and elects to use that instead. (It assumes that because you saved with AI editing compatiblity, you'll want to avail yourself of those capabilities.) That means you'll have to have on your system all the original linked images, fonts, etc.
    Does that make sense?
    Try saving out your PDF without the AI editing option. What happens when you try to re-open that in AI 13?
    Why are you saving to PDF if your intent is to re-open the files in AI?

  • Stictching effect on images in PDF produced from InDesign

    Hey there
    Requested I posted this in here over the Adobe PDF forum..
    I  have been supplied a PDF file created from  Indesign (I do not know  which version or what settings have been used, I suspect CS3 or 4, it  has been made to PDF version 1.6 with jpeg2000 compression), I am  preparing for online use through a third party supplier  who is using  ICE (a shareware product) which seems to be having  problems rendering  the images in the PDF file.
    The images seem to have  been broken  up into small parts (ie rectangles and squares) - How do I  stop the  images from being stitched into parts and retain them in the PDF as one  complete image, and is there a way to 'stitch' the images back  together once this has happened and is present in the PDF?
    I  suspect when using the Jpeg2000 compression it allows you to control  the 'tiles' setting, is this where the multiple parts of the same image  have come from. I have tried to replicate the problem using images of  various sizes (dimensions and mb's) but they all come out in the PDF  file as 1 image and not multiple parts.
    Thanks
    Noel

    It is always possible to determine which version of InDesign the PDF file was exported from by checking its attributes in Acrobat via Ctrl-D.
    When an image gets chopped up in a PDF file, it is likely due to its interaction with transparency and therefore is involved with flattening. If you get a version of the PDF file created with live transparency as opposed to flattened transparency, such fragmenting of images is unlikely to occur.
              - Dov

  • Using Dynamic Images in PDF Reports

    There are a number of threads in the forum where we talked about dynamically including images in PDF reports before. In order to illustrate one technique you can use for doing this, I put together a sample application that illustrates how to dynamically include images that are stored in BLOB columns. I installed the application on apex.oracle.com and made it available for download and local install. You can find the link and login information for this application as well as the download link here:
    http://marcsewtz.blogspot.com/2008/06/one-question-about-pdf-printing-feature.html

    Based on a discussion we had today in another thread, I think it makes sense to add to this thread that the XSL-FO snipped used to get BI Publisher to render images is used when referencing images in a report column, e.g. you included them in your RTF layout using the BI Publisher Desktop Insert->Table option. In this case, the column is referenced with “value-of select”:
    <fo:instream-foreign-object content-type="image/jpg">
    <xsl:value-of select="LOGO"/>
    </fo:instream-foreign-object>
    On the other hand, if you want to dynamically include a company logo, or other data that’s not necessarily repeating, e.g. there’s only one value, then you would use the BI Publisher Desktop Insert->Field option . And you would reference your field as follows:
    <fo:instream-foreign-object content-type="image/jpg">
    <?LOGO?>
    </fo:instream-foreign-object>
    So in this case LOGO refers to either a single-value field, or a single-row report column value.
    Regards,
    Marc

  • Copy and paste image from PDF to another application

    how do you copy and paste an image from PDF into another application such as Word or Excel? I know how to copy>> hover cursor over picture until it turns into a select "+" tool, select and right click to copy but when I try to paste it into another application, its loses all of its formatting. Thanks

    Not sure what you mean by formatting of a picture. You can export all images and get a files to import to word. You can also use the snapshot tool, though it captures a screen copy. If you select an image and copy, my experience has been that it will only copy to PhotoShop, but it is not something I do very much. If the image is part of the document (not markup like a stamp or such), you can use the select tool to select the image and copy it to the clipboard. Just tried it and it worked fine. If it is a stamp (like pasted in), then you can not copy it in this way, if at all.

  • Convert Multiple Images to PDF using iTextSharp?

    Hello friends, in my small project i have a button for converting more than one image file to pdf, i made some search in google and found some articles about that i found one that helps me to do that but convert only two images to pdf, and i want to make
    it unspecified number of image to pdf
     can anyone help me please? how to do that? or give me an article about that
    this is my code:
    private void button2_Click(object sender, EventArgs e)
    string sMergedFiles = @"C:\PDFTest\PdfReport.PDF";\\pdf file path
    string sTiffFiles = "C:\\PDFTest\\TiffFiles\\";\\Tiff image files path
    Document document = new Document(PageSize.A4, 50, 50, 50, 50);
    PdfWriter writer = PdfWriter.GetInstance(document, new FileStream(sMergedFiles, FileMode.CreateNew));
    document.Open();
    //here you can loop thru and call AddTiff2Pdf for multiple files
    string tiffFileName = Path.Combine(sTiffFiles, "asdf.tif");\\first tiff image
    AddTiff2Pdf(tiffFileName, ref writer, ref document);
    tiffFileName = Path.Combine(sTiffFiles, "1234.tif");\\second tiff image
    AddTiff2Pdf(tiffFileName, ref writer, ref document);
    document.Close();
    private void AddTiff2Pdf(string tiffFileName, ref PdfWriter writer, ref Document document)
    Bitmap bitmap = new Bitmap(tiffFileName);
    int numberOfPages = bitmap.GetFrameCount(System.Drawing.Imaging.FrameDimension.Page);
    PdfContentByte cb = writer.DirectContent;
    for (int page = 0; page < numberOfPages; page++)
    bitmap.SelectActiveFrame(System.Drawing.Imaging.FrameDimension.Page, page);
    System.IO.MemoryStream stream = new System.IO.MemoryStream();
    bitmap.Save(stream, System.Drawing.Imaging.ImageFormat.Png);
    iTextSharp.text.Image img = iTextSharp.text.Image.GetInstance(stream.ToArray());
    stream.Close();
    img.ScalePercent(72f / bitmap.HorizontalResolution * 100);
    img.SetAbsolutePosition(0, 0);
    cb.AddImage(img);
    document.NewPage();

    Why only two images allowed, cause failure with third ?Oh I used another way before, a third party tool, download and add reference to project then use the following code.There is
    no limitation of image amount. Ref this
    article.
    // Create a pdf document with a section and page added.
    PdfDocument doc = new PdfDocument();
    PdfSection section = doc.Sections.Add();
    PdfPageBase page = doc.Pages.Add();
    //Load a tiff image from system
    PdfImage image = PdfImage.FromFile(@"D:\images\bear.tif");
    //Set image display location and size in PDF
    float widthFitRate = image.PhysicalDimension.Width / page.Canvas.ClientSize.Width;
    float heightFitRate = image.PhysicalDimension.Height / page.Canvas.ClientSize.Height;
    float fitRate = Math.Max(widthFitRate, heightFitRate);
    float fitWidth = image.PhysicalDimension.Width / fitRate;
    float fitHeight = image.PhysicalDimension.Height / fitRate;
    page.Canvas.DrawImage(image, 30, 30, fitWidth, fitHeight);
    //save and launch the file
    doc.SaveToFile("image to pdf.pdf");
    doc.Close();
    System.Diagnostics.Process.Start("image to pdf.pdf");

  • Editing Image From PDF File To Use in AI Document

    Hello,
    I am a beginner user of AI and am having trouble with editing certain images from PDF files on Illustrator. I'm not even sure what I'm trying to do can be done on Illustrator or requires Photoshop.
    A) Here is the first example (Note that this is only similar to the type of image I am talking about. It is not the exact one as I don't have access to it right now):
    So let's say here are the things I want to do. (1) Extract it from the PDF file, (2) transfer it to my AI document without blurriness, (3) change the white background of the image to another color (eg. grey), (4) and embolden the lines presently in the image. If you can advise what's the way to perform these tasks?
    I have used image trace at times but if the photo is too light, portions of it will vanish. The portions that do remain become way too bold. It would be great if there was a way I could make most if not each components of the image controllable/movable. Is it possible?
    Also, what if I want to erase some of the text on the image? I have tried using the eraser tool but it does not erase on images.
    B) How would I go about removing the background of a photo like this and replacing it with a color?
    Please keep in mind that I am a complete neophyte when it comes to using Illustrator, Photoshop etc so take this into consideration when explaining. Thanks in advance

    Trent,
    To make a clear and clean drawing like A), it is better to use the image as a locked template and recreate with the native tools; most things can be made with the Rectangle Tool and the Ellipse Tool, some with the Line Segment Tool or the Pen Tool; and you can use different Window>Pathfider operations.
    It is probably easier to get rid of the surroundings in B) using Photoshop where you can erase colours within a range; the grass seen through the windows may be treated by itself, and you may wish to keep the shadow.

  • Images or pdf not inserted anymore in Mail

    Hello,
    my images or PDF are not "inserted " in my mail messages anymore
    the only show as an attachment
    How do I bring back the "inserted"
    what terminal commandto re-activate "insert docs (jpg, QT, PDF) within email

    Hi,
    what you are seeing is just the way the message is displayed for you on your Mac. There's no difference in sending (an receiving) the mail whether you used icon view or the full preview while composing the message. Even though you might have set it to show the image directly as a full preview while composing, the receiver's mail client might be set up to always show attachments as icons and not inline.
    To switch the view for you while composing simply right-click on the image, pdf, etc. and select *View as Icon* or *View in Place*.
    It's one of Mail's annoyances that there's no option to always use one specific view mode. It automatitcally decides what to do. That is, everything is shown +in place+ unless it reaches a certain file size or is a multi-page document (pdf).
    Björn

Maybe you are looking for