PDF Generator ES: Monochrome image DPI

Has anybody had any issues with DPI settings being overridden in output from PDF Generator ES?
We're passing 200dpi TIFF files in, and getting out PDF files with a DPI of 72 (tested by exporting to TIFF from the PDF) but containing the same number of pixels. The result is the page size is about 2.78 times as large as the original TIFF image.
Right-click conversion to PDF using Acrobat on the server produces a file with the correct DPI (and therefore page size).
I did look through the exported PDFG config files, and noticed this:
> /MonoImageResolution 72
But this seems to be a base operand for other settings (e.g. thresholds for mono image conversions) and changing to 200 seems to have no effect. Have reverted back to defaults now.
Converting the TIFF into a PS file then passing that to PDFG gives the correct DPI/page size. Also the same TIFF files come out correctly on PDFG 7.2.
Putting together a case for Adobe, but asking here in case anyone else has come across this.
Thanks in advance for all input on the matter!

I've raised the issue with Adobe and been told that a fix is on the way. If you encounter this same problem and you have a support and maintenance agreement, contact Enterprise Support and they will be able to assist.

Similar Messages

  • Write to pdf generating text as images

    I am using Windows 8  Billquick 2014 (project management software) and Adobe  acrobat pro XI. When I try to print a document of text + logo, some of the text does not print to text in the pdf - ie if I open the pdf the text is blurry, and not able to be edited as text.
    I have had this issue previously on a pc, but most other computers are fine.

    [moving post to Acrobat Creating, Editing, & Exporting PDFs forum]

  • PDF does not display 300 dpi images in Safari only

    I have a dynamically generated PDF that contains a 300 dpi image. The image added can be one of several that the user selects. On all other browsers the pdf renders fine. On Safari only, seemingly in all modern flavors of OSx and Safari, the images begin to print and then  stops printing the actual image and grey is printed in the remaining space the image would take up. To make it more fun one of the images renders fine. It is the 3rd smallest image and the 2 smaller ones do not render so it does not seem to be size related. Hoping someone here has seen this before.
    This is a screenshot to use as an example:
    The folding instructions graphic is also 300dpi.

    Thanks Hackintosh.
    It prints as it views, as a corrupt jpeg. I also dug into console and it confirmed there was an error about a corrupt jpg. The most interesting thing is if I open the bad pdf in Photoshop the whole image is there with no signs of corruption. This leads me to believe it's something with how OSx and/or Safari are rendering the jpgs. Another curious sidenote, Safari on Windows works fine but if you save the pdf, move it to a mac and open it, you get the corrupted jpg again.
    I think I'm going to try and stop swimming upstream now. At the end of the day I don't care if the images are pngs, tiffs, or eps. I'm going to try feeding a few different formats and see if that doesn't fix the problem.

  • How to crop pages using Adobe LiveCycle ES2 PDF Generator and Acrobat 9.2 Pro Extended

    Hi all,
    I'm evaluating the possibilities of Adobe LiveCycle ES2.0 PDF Generator in order to convert on the fly (programmatically) MS Office Documents and Visio drawings into PDF files.
    I'm able to trigger this process using the Webservices API (from within C#). However when generating the PDF files in this way, each and every PDF file has a lot of white margins around it as it is generated as an 8x11 inch page.
    I have been looking in ways to crop these white margins from around the information, so that the PDF content is only showing the actual content (in order to be used as an image).
    I found a way of doing this manually by opening the generated PDF file of LiveCycle in Acrobat 9.2 Pro Extended and using the Document > Crop Pages... option.
    So my question is: Can this be done programmatically using Adobe LiveCycle ES (and/or API functions of the Acrobat tool).
    The envisioned solution would run on a server (without interaction/monitoring requirements by a human).
    Any input about this is highly appreciated.
    Kind Regards,
    Raf
    Raf Snijders

    Hi all,
    I'm evaluating the possibilities of Adobe LiveCycle ES2.0 PDF Generator in order to convert on the fly (programmatically) MS Office Documents and Visio drawings into PDF files.
    I'm able to trigger this process using the Webservices API (from within C#). However when generating the PDF files in this way, each and every PDF file has a lot of white margins around it as it is generated as an 8x11 inch page.
    I have been looking in ways to crop these white margins from around the information, so that the PDF content is only showing the actual content (in order to be used as an image).
    I found a way of doing this manually by opening the generated PDF file of LiveCycle in Acrobat 9.2 Pro Extended and using the Document > Crop Pages... option.
    So my question is: Can this be done programmatically using Adobe LiveCycle ES (and/or API functions of the Acrobat tool).
    The envisioned solution would run on a server (without interaction/monitoring requirements by a human).
    Any input about this is highly appreciated.
    Kind Regards,
    Raf
    Raf Snijders

  • "Save as pdf" generates corrupt pdfs

    Hello everybody,
    I have a problem with the "save as pdf" option in the printing menu. When generating the pdf for a document which contains bitmapped embedded images, the actual images in the pdf file are corrupt when opened on a windows/linux machine with the latest version of acrobat reader.
    If I open the document on a mac, either with preview or with acrobat, it looks fine. The problem seems to be the compatibility of the generated pdf with the windows/linux version of acrobat reader.
    Moreover, the problem happens randomly when printing either from Pages or Keynote, so I think it is not an application-dependent issue. I tried also to save as pdf-X but this does not solve the problem.
    Some idea on how to fix this compatibility issue on the Tiger's internal pdf generator?
    Thank you very much,
    Vittorio

    Stuck files in the queue sounds like a problem I had with Acrobat X. The
    10.0.1 patch broke the Adobe PDF printer, so that it tried to use the
    COM1: port, instead of the Documents or Desktop port. (You can check for
    this by right-clicking the Adobe PDF printer, choosing "Printer
    Properties," then selecting the "Ports" tab.) In fact, it deleted those
    ports! (Here's a link to that problem:
    http://kb2.adobe.com/cps/893/cpsid_89330.html). The result was PDFs that
    would not print, and would be left stuck in the printer queue. The fix
    was to delete the Adobe PDF printer, then run the Acrobat repair option
    to regenerate it. You might want to do this. Following are the
    directions for Windows 7. Windows XP instruction are included at the
    link above.
              *Windows Vista (UAC on, nonadmin user), Windows 7 (UAC on,
              admin user)*
    1. Close all PDF files.
    2. Go to Printers and Faxes (Windows XP), Printers (Vista) or Devices
        and Printers (Windows 7).
    3. Right-click the Adobe PDF printer and click Delete (Windows XP,
        Vista) or Remove Device (Windows 7).
    4. Enter the admin credentials. This step deletes the Adobe PDF printer.
    5. Go to Programs and Features (Vista and Windows 7).
    6. Select Adobe Acrobat X Pro or Standard and click Change.
    7. Select Repair and follow instructions to complete repair.**
    By the way, I don't think this was mentioned earlier, but another cause
    of problems with PDF generation is having more than one installation
    and/or version of Acrobat, Adobe Reader, or the PDF creation add-on that
    comes with FrameMaker installed simultaneously. If you have Acrobat, you
    should NOT have Adobe Reader or the PDF creation add-on installed on the
    same computer, and you should have only one version of Acrobat installed.

  • How do I create a pdf file that is 300 dpi in Adobe Acrobat XI?

    How do I create a pdf file that is 300 dpi in Adobe Acrobat XI?

    PDF files do not have a "resolution" - they aren't images. The pages are a mix of vector art and text, and raster (pixel-based) graphics. The raster items on a page can (and often do) have different resolutions.

  • Sync Text alignment in HTMLEditor and a PDF generated using FOP

    Hi,
    How to sync text alignment in HTMLEditor and a PDF generated using FOP ?
    I tried setting the dimensions of HTMLEditor and PDF in pixels by calculating the size in Pixels for A4 paper size with a particular dpi value.
    Have done the font settings as well. The problem is I see uneven line cuts in the PDF as compared to HTMLEditor.
    Thanks.

    It's not a realistic expectation. You are expecting the PDF produced by whoever provided your FOP implementation to observe exactly the same typographical rules as HTMLEditor. Basically it won't, and there is no way to enforce it. Line breaking/hyphenation/word spacing algorithms can be of great complexity. You are expecting two systems that aren't specified to agree, to agree.

  • Embed a font in a PDF(generated by Word 2013) using Adobe Acrobat XI

    Hi all,
    I wrote my thesis in Word 2013 using the LaTex font "LM Roman 12" that is an Open Type font not restricted (it results "Editable").
    Although it is marked as opentype, word doesn't embed it into the exported pdf and I guess that is becouse the font is identified as Type1.
    I more or less solved the problem printing the word file using Adobe PDF Printer or converting it with Abobe Acrobat XI, but I'd like to use the pdf generated by word becouse auto-creates index, links index items to contents and doesn't resize/alter the images inside the document.
    The screenshot above is the properties of the pdf generated from word.
    Is there a simple way to force the embedding in this pdf of the missing not embedded fonts?

    Word 2013 uses its own pdf creator engine as far as I know. The step I performed were:
    1 - In the save settings I told word to embed fonts (sorry for the language, I have the Italian client)
    2 - Export from Word -> Save As -> .pdf adding also the table of contents/index
    N.B. I cannot use PDF/A, and in any case it doesn't embed the font
    A working solution is to use Acrobat XI to convert it or print with Adobe PDF printer, results:
    The problems are 2:
    1 - It doesn't create any bookmark and doesn't create links from the table of images to the linked images
    2 - Images, also with the preset "High Quality Printing" customized using "No compression", are really ugly and if you zoom a bit more than 100% they totally be s**t. It wasn't that way with PDF created by word.
    In the end, or I find they way to open the pdf created by word and embedd the missing font, or I find a way to make Acrobat XI creating bookmarks from the word file.
    Suggestion?

  • How to create small PDFs with reasonable quality images?

    Help me Obiwan Adobe!
    There seem to be several utilities around the web that claim to do this, but I figured I'd ask the experts first. There must be some sort of step by step technique outlined somewhere that enables you to create PDFs that have reasonable image quality but don't come with such extreme weight that they can't be emailed.
    I have seen suggestions ranging from using the Print to PDF function in InDesign (sometimes that works, sometimes not), to exporting out of InDesign using the PDF/X1a preset (used to work ok, but now does not seem to crunch the files down as much as they used to) to adjusting preferences to a lower screen resolution—not in the export or save as dialog box—then saving as reduced size. I've tried almost every technique I have seen but to no avail.
    So I assume there is something I am missing. In builiding an InDesign file that you want to severely compress, is it better to use JPEGs or other PDFs or something else for placed images?
    I know it is alot to ask, and clearly native Acrobat functions are not much help, but I have several uses for this. I do a lot of book design and prefer to send drafts to clients that are at least good enough for them to look at without fuzzy images. I also would like to put together a portfolio PDF document that does not require sending through FTP. In fact most places that ask for my portfolio PDF want it smaller than 1.5 MB. That seems to be impossible.
    So there you go. Somebody needs to write a book. In fact, if I get some good direction, maybe I'll do it.
    Thanks

    A lot depends on the types of images you have and the resolution. You may be best adjusting the resolution first in InDesign and then creating the PDF. For the options in the export, you may have to ask in the ID forum since the export is an ID function. Printing to the Adobe PDF printer is the other that was suggested (I usually hear that the ID export is the best way to go, but I don't have ID to confirm). In printing to the Adobe PDF printer there are several options to consider -- one is the selection of the job settings to use. The default is Std that embeds all but the Adobe fonts and has a slightly lower graphics resolution than Press or Print settings. Also, in the advanced button of the Adobe PDF printer>layout (may vary with Acrobat version), select the Graphic>Print Quality and lower it. I use 300 dpi and several others recommend 600. The default is 1200 that is useless unless you are expecting folks to zoom to see fine details.
    If you open the job settings Adobe PDF Settings>Default Settings (select one of the settings files - probably press or print, or try Std if you want) and check the graphic tab to see the resolution that will be used for the graphics. A combination of this resolution setting and the Print Quality should address your issues.

  • Problem with importing pdf as a backgroung image

          I have a requirement for importing a pdf/doc and map xml data and create a template. Generate a tiff image as the output using the template and mapped xml data. I am looking into your Adobe LiveCycle as one option. I am able to import the pdf but the layout of the pdf has been changed. According to our requirement the layout of the pdf should be the same as the imported pdf. Please, find the attached pdf for reference. Can you please provide me some assistance regarding evaluating this product.

    Try clicking the link below. On the page that appears, click the drop-down and choose the forum that appears to match the software you are using.
    Click here to view
    Best of luck to you in solving your issue... Rick

  • Need info on livecycle pdf generator

    Hi,
       My requirment is:
                              Convert different image file and word document file (.doc,.docx) to pdf and merge to a single pdf and display it to the client over the net.
          I think I can use Livecycle Pdf generator to fulfill my requirment.
      My question is:
                           1 can  use pdf generator standalone i mean with out other services,?
                           2 I will integrate This with java,so where can I find referance material?Is there any lib file?
                           3 amd most important question is what is the price of livecycle pdf generator?
                           Waiting for a response...
                                                                                                                                                 Thank you,
                                                                                                                                                  Barun barik

    1 - Yes, sort of.   The LiveCycle products require the LiveCycle foundation classes to run, but you don't need to install the other modules (Forms, ReaderExtensions, etc).  With Generator you will get some "common" modules, such as Assembler.  To merge two documents in the manner you mentioned, you will use Assembler.
    2 - Yes.  LiveCycle modules run on a J2EE platform and have a full Java API.  The client jar files come with the product.  Java Documentation can be found online at:http://help.adobe.com/en_US/livecycle/9.0/programLC/javadoc/index.html
    Samples can be found at: http://www.adobe.com/devnet/livecycle/samples.html
    3 - Price and licensing are too broad a topic to discuss in the forums.  It will depend on the request volume (which effects the # CPUs), corporate discounts, existing Adobe products, etc.  Your Adobe Sales Representative is best qualified to give you a quote based on your needs.

  • Conversion of Tiff docs using PDF generator

    Hi,
      In our business, we get the tiff images which needs to be converted to PDF. I learned that PDF generator ES can do this.
    Can we extract the text and values present in the Tiff images and save it in our database using OCR feature in PDF generator?
    If not with this, do we have any other way where we can use features of OCR and Adobe?
    Also, can we install LiveCycle PDF Generator ES trial version without installing the whole Enterprise suite? If we install by selecting the appropriate modules we want in enterprise suite, will it work fine without having other pieces of enterprise suite?
    Thanks in advance,
    kc

    Hi Elyguy,
    Please see this document: Application, file icons change to Acrobat/Reader icon.
    If the solutions listed there don't work to re-associate your filename extensions, please let us know!
    Best,
    Sara

  • Is there any Adobe LiveCycle PDF Generator for PS EXPERTS?

    There seems to be a lot of question about this product with no answers. When you call Adobe you get the run around.
    How is the product supposed to work?
    When a basic installation is performed it does not do what is expected.
    If you are suppose to be able to create Postscript files or drop Office documents in a watch folder or email them to the server and it converts them. Why does it not work? These are the basic function not a lot of development required. The only files that are converted are .PS and then it appends .PDF to the end of it. (test.ps.pdf) if fails on all office documents with an "Error Code: 11,020 Reason: The source file you submitted is not supported by this version of PDF Generator. If this product does not support this function then why did the installation require you to install Office before the Livecycle product is installed?

    Hi Steven,
    What you refer to is PDF Generator version 7.x Postscript edition.
    In version 7 of the product there were 3 editions:
    1. PDF Generator Professional
    Create PDF files from a wide range of source files:
    Print (PS, EPS, PRN)
    Image (JPG, GIF, BMP, TIFF, PSD)
    Standard office formats (DOC, XLS, PPT, WPD, MPP)
    Text (TXT, RTF)
    Web (HTML)
    Design files (DWG, VSD)
    Generate all types of Adobe PDF file formats:
    PDF 1.3, 1.4, 1.5, 1.6
    PDF/X-1a and PDF/X-3 for prepress document exchange
    PDF/A for archiving with easy search and retrieval
    Searchable PDF files from images
    Convert PDF files to:
    HTML documents
    Text (TXT, RTF, accessible)
    Images (TIFF, PNG, JPEG)
    Print (PS, EPS)
    2. PDF Generator Elements
    Create PDF files from a wide range of source files:
    Print (PS, EPS, PRN)
    Image (JPG, GIF, BMP, TIFF, PSD)
    Standard office formats (DOC, XLS, PPT, WPD, MPP)
    Text (TXT, RTF)
    Web (HTML)
    Design files (DWG, VSD)
    Generate all types of Adobe PDF file formats:
    PDF 1.3, 1.4, 1.5, 1.6
    PDF/X-1a and PDF/X-3 for prepress document exchange
    PDF/A for archiving with easy search and retrieval
    Convert PDF files to:
    HTML documents
    Text (TXT, RTF, accessible)
    Print (PS, EPS)
    3. PDF Generator Postscript
    Create PDF files from a wide range of source files:
    Print (PS, EPS, PRN)
    Generate all types of Adobe PDF file formats:
    PDF 1.3, 1.4, 1.5, 1.6
    PDF/X-1a and PDF/X-3 for prepress document exchange
    PDF/A for archiving with easy search and retrieval
    So basically what you have is the very limited edition, doing exactly what you said. For more functionality you should opt for one of the other editions (that for version 7.x)
    Today's version is the newer LC PDF Generator ES. You can look for its specifications at http://www.adobe.com/products/livecycle/pdfgenerator/
    Thanks

  • To retain color space value for Monochrome images during flattening.

    In our project, we are extracting image content from PDF file and doing some raster operation by using LeadTool and then flattening the processed image in PDF file.
    Input PDf file: One page which has monochrome image
    For extracting image content from PDF file, we are using below Acro Plugin API:
    AVConversionConvertFromPDFWithHandler
    After this, we will perform some raster operations by using LeadTool and then flattening will happen.
    While doing flatten we are performing below operations in sequence:
    1. Set bitspercomponent  =1.
    2. Create a new color table using DeviceRGB.
    3. Create image by using below Acro Plugin API:
    pdeimage = PDEImageCreate(&attrs, sizeof(attrs), &matrix, 0, cols1, NULL, &fil, asstm, NULL, 0);
    4. Add image in PDF content.
    Now flattening is successful, but monochrome(Original Image format) is changed to RGB. We want to retain the color space(DeviceGrey).
    We have tried the below solution to retain the color space:
    1. Using the old image's color space value for new image creation. But this gives inverted color(Black to White and vice versa)
    Please help us to retain the color space while flattening.

    We are using JPG file format.
    Please find below the code portions which we used to add image in PDF file,
    //Read Image Data
    ========================================================================================== ==================
    ASBool ret = TRUE;
    // analyze img
    ASInt32 index = 0, quadSize = 0;
    BITMAPFILEHEADER* bmfh = NULL;
    // BITMAPFILEHEADER
    if(  !bQuadSize )
      bmfh = (BITMAPFILEHEADER*)img;
      index += sizeof(BITMAPFILEHEADER);
    // BITMAPINFOHEADER
    BITMAPINFOHEADER* bmih = (BITMAPINFOHEADER*)(img+index);
    index += sizeof(BITMAPINFOHEADER);
    // RGBQUAD
    if( !bQuadSize )
      quadSize = bmfh->bfOffBits - sizeof(BITMAPFILEHEADER) - sizeof(BITMAPINFOHEADER);
    else
      quadSize = size -  bmih->biSize -  bmih->biSizeImage;
    ASInt32 rgbquadNum = 0;
    char* quad = NULL;
    if (quadSize > 0)
      rgbquadNum = quadSize/sizeof(RGBQUAD);
      quad = (char*)(img+index);
      index += quadSize;
    // Image
    //ULONG imgSize = size - bmfh->bfOffBits;
    char* image = (img+index);
    DURING
       if(!pd)
        E_RETURN(FALSE);
       PDPage pp = PDDocAcquirePage(pd, page-1); // Get Page(PDPage) of specified page number
       PDEContent pdeContent = PDPageAcquirePDEContent(pp, gExtensionID); // Get PageContent(PDEContent)
       ASInt32 numElems = PDEContentGetNumElems(pdeContent);  // Get PageContent num
       // Check BitMap width, height, biXPelsPerMeter, biYPelsPerMeter changed
       ASFixedRect mb;
       PDPageGetMediaBox(pp, &mb);
       ASFixedRect chgMediaBox;
       memset(&chgMediaBox, 0 , sizeof(ASFixedRect));
       if (paperSizeChangeType == PAPERSIZE_SIZESPECIFICATION)
        chgMediaBox.right = width;
        chgMediaBox.top = height;
       // Get PDEImage's Attributes & Filters & ColorSpace from Old Image in PDF file
    ========================================================================================== ===================================
       PDEElement pdeElement;
       ASInt32 importIndex;
       ASInt32 type;
       PDEImageAttrs attrs1;
       PDEColorSpace cols1;
       //ASAtom colname;
       PDEFilterArray fil1[20];
       ASInt32 filNum1;
       ASFixedMatrix matrix1;
       bool isTransformedPage = false; //EV2.8.02000_19651_Retain color space_20141016
       for (int i = 0; i < numElems; i++)
        pdeElement = PDEContentGetElem(pdeContent, i);
        PDEObject obj=_objHelper.TraversePDPageContentsImage((PDEObject)pdeElement);
         if(obj == NULL)
          continue;
         pdeElement= (PDEElement)obj;
        type = PDEObjectGetType((PDEObject)pdeElement);
        if (type == kPDEImage)
         // Get Attr
         PDEImageGetAttrs((PDEImage)pdeElement, &attrs1, sizeof(PDEImageAttrs));
         // Get ColorSpace
         cols1 = PDEImageGetColorSpace((PDEImage)pdeElement);
         // Get Filter Array
         filNum1 = PDEImageGetFilterArray((PDEImage)pdeElement, fil1);
         // Get ASFixedMatrix
         PDEElementGetMatrix(pdeElement, &matrix1);
         //EV2.8.02000_19651_Retain color space_20141016 - Start
         if (matrix1.a < 0 || matrix1.b < 0 ||
                        matrix1.c < 0 || matrix1.d < 0 ||
                        matrix1.h < 0 || matrix1.v < 0)
          isTransformedPage = true;
         //EV2.8.02000_19651_Retain color space_20141016 - End
         // Set Import and Delete Index
         importIndex = i;
         break;
       // Create image data (for PDEImage)
    ========================================================================================== =================================
       ASInt32 bitPerComponent = bmih->biBitCount;
       ASInt32 bitWidth = 0;
       ASInt32 width1 = bmih->biWidth;
       ASInt32 height1 = bmih->biHeight;
       // Create image size
       if (bitPerComponent == 1)
        if (width1%8)
         bitWidth = (width1/8) + 1;
        else
         bitWidth = width1/8;
       else if (bitPerComponent == 4)
        if (width1%2)
         bitWidth = (width1/2)+1;
        else
         bitWidth = width1/2;
       else if (bitPerComponent == 8)
        bitWidth = width1;
       else if (bitPerComponent == 32)
        bitWidth = width1*4;
       else // if (bitPerComponent == 24)
        bitWidth = width1*3;
       ASInt32 imgSize4Acrobat = height1 * bitWidth;
       char* image4Acrobat = (char*)ASmalloc(imgSize4Acrobat);
       if( image4Acrobat == NULL )
        E_RETURN(FALSE);
       memset(image4Acrobat, 0, imgSize4Acrobat);
       // Create image
       ASInt32 nokori = (bitWidth)%4;
       ASInt32 bitWidth4hokan = 0;
       if (nokori)
        bitWidth4hokan = bitWidth + (4-nokori);
       else
        bitWidth4hokan = bitWidth;
       ASInt32 hbw = 0;
       ASInt32 hbw4hokan = 0;
       if (bitPerComponent == 1)
        for (int k = height1-1, l = 0; k >= 0; k--, l++)
         hbw = l*bitWidth;
         hbw4hokan = k*bitWidth4hokan;
         memcpy((image4Acrobat+hbw), (image+hbw4hokan), bitWidth);
       else if (bitPerComponent == 4)
        for (int k = height1-1, l = 0; k >= 0; k--, l++)
         hbw = l*bitWidth;
         hbw4hokan = k*bitWidth4hokan;
         memcpy((image4Acrobat+hbw), (image+hbw4hokan), bitWidth);
       else if (bitPerComponent == 8)
        for (int k = height1-1, l = 0; k >= 0; k--, l++)
         hbw = l*bitWidth;
         hbw4hokan = k*bitWidth4hokan;
         memcpy((image4Acrobat+hbw), (image+hbw4hokan), bitWidth);
       else if (bitPerComponent == 32)
        for (int k = height1-1, l = 0; k >= 0; k--, l++)
         hbw = l*bitWidth;
         hbw4hokan = k*bitWidth4hokan;
         for (int kk = 0; kk < bitWidth; kk += 4)
          *(image4Acrobat+hbw+kk) = *(image+hbw4hokan+(kk+3));
          *(image4Acrobat+hbw+kk+1) = *(image+hbw4hokan+(kk+2));
          *(image4Acrobat+hbw+kk+2) = *(image+hbw4hokan+(kk+1));
          *(image4Acrobat+hbw+kk+3) = *(image+hbw4hokan+(kk));
       else
        for (int k = height1-1, l = 0; k >= 0; k--, l++)
         hbw = l*bitWidth;
         hbw4hokan = k*bitWidth4hokan;
         for (int kk = 0; kk < bitWidth; kk += 3)
          *(image4Acrobat+hbw+kk) = *(image+hbw4hokan+(kk+2));
          *(image4Acrobat+hbw+kk+1) = *(image+hbw4hokan+(kk+1));
          *(image4Acrobat+hbw+kk+2) = *(image+hbw4hokan+(kk));
       //Invert Image Data
    ========================================================================================== ================================
       for(int it = 0; it < imgSize4Acrobat; it++)
          image4Acrobat[it] = 255 -image4Acrobat[it];
       // Open Image Data
    ========================================================================================== ================================
       ASStm asstm = ASMemStmRdOpen(image4Acrobat, imgSize4Acrobat);  
       // Create PDEImage Attribute etc.
    ========================================================================================== ================================
       PDEImageAttrs attrs;
       memset(&attrs, 0, sizeof(PDEImageAttrs)); // necessary
       attrs.width = width1;
       attrs.height = height1;
       if (bitPerComponent == 1) {
        attrs.bitsPerComponent = 1;
        if (rgbquadNum) {
         attrs.flags = kPDEImageIsIndexed | kPDEImageExternal; // Indicates image uses an indexed color space.
        } else {
         attrs.flags = kPDEImageExternal; // Indicates image is an XObject.
         // B&W
       } else if (bitPerComponent == 4) {
        attrs.bitsPerComponent = 4;
        if (rgbquadNum) {
         attrs.flags = kPDEImageIsIndexed | kPDEImageExternal; // Indicates image uses an indexed color space.
        } else {
         attrs.flags = kPDEImageExternal; // Indicates image is an XObject.
       } else if (bitPerComponent == 8) {
        attrs.bitsPerComponent = 8;
        if (rgbquadNum) {
         attrs.flags = kPDEImageIsIndexed | kPDEImageExternal; // Indicates image uses an indexed color space.
        } else {
         attrs.flags = kPDEImageExternal; // Indicates image is an XObject.
       } else if (bitPerComponent == 32) {
        // not support (acrobat)
       } else { // (bitPerComponent == 24)
        attrs.flags = kPDEImageExternal;  // Indicates image is an XObject.
        attrs.bitsPerComponent = 8;
       // matrix
       ASFixedMatrix matrix;
       memcpy(&matrix, &matrix1, sizeof(matrix1));
       if (paperSizeChangeType == PAPERSIZE_SIZESPECIFICATION)
        matrix.a = chgMediaBox.right;
        matrix.b = 0;
        matrix.c = 0;
        matrix.d = chgMediaBox.top;
        matrix.h = 0;
        matrix.v = 0;
       // Filter
       PDEFilterArray fil;
       memset (&fil, 0, sizeof (PDEFilterArray));
       PDEFilterSpec spec;
       memset (&spec, 0, sizeof (PDEFilterSpec));
       memcpy(&fil, &fil1, sizeof(PDEFilterArray));
       CosDoc cosDoc;
       CosObj cosDict;
       // Build the CosObj for the filter specification
       cosDoc = PDDocGetCosDoc(pd);
       cosDict = CosNewDict(cosDoc, false, 2);
       CosDictPut(cosDict, ASAtomFromString("K"), CosNewInteger (cosDoc, false, -1));
       CosDictPut(cosDict, ASAtomFromString("Columns"), CosNewInteger (cosDoc, false, width1));
       //memset the filterspec so there are no garbage values if we leave members empty
       spec.encodeParms = cosDict;
       spec.decodeParms = cosDict;
       spec.name = ASAtomFromString("CCITTFaxDecode"); 
       fil.spec[0] = spec;
       // Create PDEImage
    ========================================================================================== =================================
       PDEImage pdeimage;
       pdeimage = PDEImageCreate(&attrs, sizeof(attrs), &matrix, 0, cols1, NULL, &fil, asstm, NULL, 0);
       // Delete PDEImage at importIndex(==j) of page -> Delete old image in PDF file
    ========================================================================================== ====================
       PDEContentRemoveElem(pdeContent, importIndex);
       // Add PDEImage
    ========================================================================================== ==========================
       PDEContentAddElem(pdeContent, importIndex, (PDEElement)pdeimage);
       PDPageSetPDEContent (pp, gExtensionID);
       PDPageReleasePDEContent(pp, gExtensionID);
       // Release object
       PDERelease((PDEObject)pdeimage);
       PDPageNotifyContentsDidChangeEx(pp, TRUE);
       PDPageRelease(pp);
       ASStmClose(asstm);
       if (image4Acrobat)
        ASfree(image4Acrobat);
       if (lookupTable)
        ASfree(lookupTable);
      HANDLER
       ret = FALSE;
      END_HANDLER
    return ret;

  • ES2 PDF Generator file not 508 compliant

    I am using the PDF generator service in th
    e ES2. When i take a document that has alt text with the image the converted prf does not have the alt text. Does anybody know what settings address this? Is it a compatiability issue, Acrobat 6.0 or greater?

    Hi Dipti,
    The details on the 'Summary Info' from the report are Not exported to PDF unfortunately.
    I have the latest version on CR installed and it doesn't export too.
    You might want to post this as an Enhancement at the Ideas Place here:
    -Abhilash

Maybe you are looking for

  • Station Globals modified externally are not reflected

    Hi, I am having an UI developed in CVI(EXE1) which runs a teststand sequence. The flow of sequence is controlled by Station Globals. The Station Globals i am trying to control from another user interface so that the flow in EXE1 will be exrcised. But

  • Need help for SQL Queries Tunning

    hi all, we have a procedure for search consumers, which using sql queries like: SELECT TRIM (NAME) AS NAME, TRIM (accno) AS accno, TRIM (connaddress) AS connaddress, TRIM (CATEGORY) AS CATEGORY, TRIM (landmark) AS landmark, SUBSTR (accno, 1, 3) AS su

  • Flex and the browser

    when I run a flex application, my favorites side bar disappears. When I go into my browser and turn on the favorites panel, it then covers my web page. Anyone know how to fix this? Sincerely Sammy.

  • Cut and Paste Causing Crashes

    I just installed CS 6 Cloud and now I can't copy, cut, or import from Illustrator anymore.  It crashes flash, fireworks, and photoshop.  Illustrator cs6 x86 won't open any files at all.  I'm on Windows 7, Dell Precision, 8 GB ram.  Anybody know what

  • RMAN OBULETE and Expired Backup

    HI Experts i need a query which can tell me about my expired backups and Obsolete backups . my recovery window is of 14 days My database version is 10g(10.2.0.4) on AIX 6.1 regards,