PDF SDK creates inferior images

We are trying to upgrade an application to use the Acrobat API's to display PDF files within our application (instead of the ActiveX components, which seem to have become unreliable with 8.0).
But the PDF files don't look nearly as good. The anti-aliasing is dramatically inferior to viewing the page in Acrobat, Acrobat Reader, or even within a web browser (which, I believe, uses the ActiveX component.)
How do we fix the anti-aliasing when using the Acrobat API?
Thanks for the help,
-Vilis

Thanks Leonard, this is very helpful!
The ActiveX control we are loading is:
static CLSID const clsid = { 0xCA8A9780, 0x280D, 0x11CF, { 0xA2, 0x4D, 0x44, 0x45, 0x53, 0x54, 0x0, 0x0 } };
We are basically using the code from here: http://www.codeproject.com/KB/miscctrl/acroview.aspx
As for why it sometimes doesn't display images properly, I think it has something to do with other instances of the control being open in other windows, or in other instances of our application, but we have not identified a consistent thread to the problem. The other problem we have is that we need to scale the image to a particular size, which, in the ActiveX model, we do by capturing the displayed image from the screen (lame), identifying key markers and scaling the image to the appropriate size.
In the OLE version, we are using the StaticView api. I just built the ActiveView sample, and looked at the images created by that, and it *IS* displaying a superior image quality! Frankly, I didn't know there would be a difference, and when I look in the documentation, I can't find where it explains why there is a difference in render quality between the Active and Static views?
Also - here is the other problem I forsee. It appears we can get the higher image quality by using the ActiveView API, but I don't see how to capture the image. So this would put us back to the original ActiveX method of displaying the image, capturing the screen, looking for markers and rescaling the image, which is cheesy at best. It does look like it would resolve the reliability issue, however.
What are the ActiveView and ActiveX components doing differently to display the images at a higher quality?
-Vilis

Similar Messages

  • How to use sdk to get the image in the pdf file created by illustrator?

    I have some pdf files create by illustrator and saved as pdf documents,
    now I want to use the sdk to get the image in pdf files.
    how to?
    Thanks.

    Thank you first!
    Yes,you are right,since I am new to illustrator,and I want to try to write a plugin,
    I have read the sdk doc and API and opened the sample in vs2010,but no idea about how to operate the pdf doc in illustrator with api.
    Hope more advise or any examples,thank a lot.

  • How to create a pdf file from multiple images ?

    Dear All,
    I want to create a SINGLE page pdf file from two or more page size images that are combined to make a single page pdf. Again, this question is on pdfs that are made out of several, atleast  two color images and a black-and-white mask for one of them.
    I have such pdf files from an unknown source (the producer is edited out) whereby there are three tiff images, obtained using the well known pdfimages extractor.
    When I want to make a pdf out of tiff or png or other image formats, I right click and tell Adobe Acrobat to make a pdf.
    However, I dont know how I can give a command to select say,  three tif images and specify which is the mask for which and then join  them in a way that I get the pdf from the composite of the two color images and a mask for one of them.
    Please help me out.
    I am a little familiar with the pdf structure skeleton and when necessary, fixed xref tables in one of my favorite editors. A few years ago, I also wrote a bunch of javascripts to make some annotations and needed some automation and used some itext type libraries. However, I need your help in this problem as I am now rusty and forgot some of what I studied to solve my earlier problems. This is a new problem for me. Gentle hints from you would be very nice to help me in this problem. Please specify if necessary what manual and pages to read. in the pdfspec.
    Best Regards
    Disabled Veteran [physically handicapped]

    Hello Again.
    On Fri, May 11, 2012 at 12:20 PM, lrosenth <[email protected]> wrote:
    >
    > Re: How to create a pdf file from multiple images ?
    >
    > created by lrosenth in PDF Language and Specifications - View the full
    > discussion
    > ________________________________
    >
    > No clue who Irving is…
    >
    I was hoping to have your first name so its easy for me to address you.
    > I have no clue what OS platform, programming language, etc. you use so
    > can’t really narrow things down.
    I would gladly mention that I am working on windows platform, preferably XP.
    I can also work on linux for free products that come with it.
    >  Also, as this is an Adobe forum, we only
    > recommend Adobe products – so there may be other options that even my list
    > wouldn’t include.
    But adding other products, for the help of an adobe products user,
    even if it outside adobe, shall add greater prestige to your company
    and give impression of user-centeredness.
    > If you read ISO 32000-1:2008 (aka the PDF standard), you will find the
    > information about Images and Image Masks well described.  I didn’t think I
    > needed to repeat any of that information.
    Well, just add the few pdf stanzas since you are proficient on it and
    I am presently a little rusty as I mentioned. Just asking a little
    extra yard, not even to go an extra mile.
    > And, if you read that same document, you will see that there is NO SUCH
    > THING as a “text only PDF”.   All PDF documents are structured binary files.
    Well, ascii format or uncompressed format that is human readable. I
    know its a binary file, but human readable ascii version of it.
    I hope you can give me some stanza and various other approaches
    possible so I can select or combine things for myself. I see only a
    miniscule number of posts claiming to have written masks in this forum
    and then with no details.
    Regards
    Roger
    Message was edited by: dying veteran
    because the adobe posting system went crazy and truncated all except the first line ... dunno why

  • Corrupt image formatting when creating pdf from embedded visio image in MS word

    Hello, Using Adobe Acrobat 9 standard and trying to create a PDF file from an MS word (version 2003) document.  PDF file created is fine except for an image (embedded visio diagram imported into word).  When created in PDF, the image is missing many of the diagram labels, and other text boxes are in the wrong font and wrong location.  I don't know if it's my Adobe Acrobat or MS Word settings that need to be updated.
    thanks, NB

    Dear fellows,
    the problem is still present.  My system:Windows 7 32-Bit Prof, MS Office 2010 Prof, Acrobat X Pro 10.1.1, Vision 2010 Prof, all updates installed.
    Problem #1: Even the latest Acrobat X 10.1.1 version causes Visio 2010 to start with error messages, origin: the Acrobat Add-In.  Therefore I de-activated the Acrobat Add-In, again, as in the past.
    As I design grafics with Visio 2010, I mark them in the active Visio window, copy the marked parts and then insert them into my Word-Document.  So far, so good and as I want it.
    The (still present) problem: I can produce a PDF file using the "save as Adobe PDF", but the Visio drawing is incomplete and corrupt.  E.g. arrows as line endings have disappeared.
    PS: But using Adobes PDF printer sets the embedded Visio drawing correctly!  But using the printer one looses some features of the "save as Adobe PDF" command.
    Well, probably one day ...
    Regards,
    Rückenlehne.

  • Acrobat 7.0.5 for Windows -- Problem creating a PDF from a TIFF image

    I have a user who is attempting to create a PDF from a TIFF image using the Adobe PDF print driver (Acrobat 7.0.5). His computer is a 3.4 GHz Intel Pentium 4 with 1 GB of RAM. His operating system is WinXP Pro SP2. The TIFF file he is trying to convert is about 2000 pages long. Is this even possible given the hardware and resources I've described?

    Sorry, I should have been more explicit...The TIFF image is a multi-page image and is stored in a database here at our office. The user has a proprietary (internally-coded) viewer that's used to open the image from the database, and there's no way to save the image locally. The user wants to be able to search within the image, so he converts it to a PDF. Ordinarily, this works very nicely, but this is his first time trying to do it with an image of more than 1000 pages length.

  • How to create small size 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
    (Also posted in Acrobat forum.)

    If your PDF will be printed to any kind of quality requirement, it's best to stick with Adobe's own PDF tools for creation and slimming, rather than third-party.
    Whatever choices you make for processing multiple PDFs, full Acrobat offers batch operations.
    Depending on your clients' needs, you could consider providing several file sizes. For example, a small one with marginal graphic quality for email, and links to larger files of better quality. If bandwidth and download time are issues for clients, perhaps create a link from each marginal-quaity graphic in your small PDF to a single better-quality downloadable graphic.
    An option for reducing file size instead of lowering resolution or using lossier compression, is to consider creating images with fewer bits-per-pixel. This would affect color more than detail. Just a thought.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices
    skipmc wrote:
    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
    (Also posted in Acrobat forum.)

  • 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.

  • Looking to create fully editable PDF files with background images

    Hello and thank you, I create menu's and flyers for a group of restaurants. I need to make text editable PDF menus with background images. I believe Livecycle is able to do this, but would really like to hear it from someone who knows for sure. Again thank you.
    Cheers,
    Charlie

    Yes it can. Download a free trial and try it out.

  • Problem creating several image maps (linking to different pdf files) RoboHelp 8

    Hi,
    I have a problem creating several image map hotspots (that link to different .pdf files), from the same image using RoboHelp 8 HTML (WebHelp project).
    After compiling, the first image map hotspot created, opens the .pdf file correctly.  Unfortunately, when clicking on the other image hotspots, I get an error " Cannot find file...<file path>... Make sure path or Internet address is correct".
    All the pdf documents are located in the same folder within the project.
    Can anyone help?

    Have you added the target files as baggage?
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • How to create multiple page PDF from multiple jpg images?

    I have three jpeg images with pixel dimensions 1008 x 1464. I wish to create a PDF file with one image per page. Apparently Preview previously performed this function, and this functionality was deliberately removed by the time of Mac OS X 10.6.
    I use Mac OS X 10.6.8. I have combined the images via Gimp into one jpeg image of size 1008 x 4392, but it would be better if I could create a PDF file. I have been unable to figure out how to do this via GraphicConverter, which trial version constantly displays the 30 second "buy me" window before loading -- annoying: I once accidentally opened it, and it would not let me close the application until the "buy me" window finished...
    I have been able to create a PDF file through the action of "printing" (cf. https://discussions.apple.com/message/12395021#12395021), but that reduces the image size and creates a white margin around the images (as if printing on a sheet of paper), which I wish to avoid.
    Thank you for your time and help!
    Message was edited by: ethereality -- added another "workaround" attempt

    I drag and dropped from Finder into TextEdit, and it only copied the file path as text. From what software would I drag the images into TextEdit?
    First, set the TextEdit document to Rich Text Format - you can do that via the Format menu in TextEdit. This will allow the inclusion of pictures.
    Then you can either -
    • Drag an image file into the TextEdit window, and a preview-sized image will be inserted. If this is too small for your purposes -
    • Open the image file in Preview (or an image editor, if you choose), size the image to your liking, press Command-A (Select All) and the press Command-C (Copy) - doing this will place a copy of the image on the Clipboard. Then switch focus to the TextEdit document and press Command-V (Paste). This will place a large-size image of the file.

  • SDK creating PDF files that will not print with pcl6

    We are using the PDF SDK 7.1 to create PDF files from our application on Windows. The PDF files mostly consist of PATH elements representing 2D graphics. We have customers that have trouble printing them from Acrobat on PCL6 printers, they either get a memory error, or an error that there is not enough memory.
    As a workaround, they have used Ghostscript to create the PDF files, then they have no problem printing the files. I am at a loss to see what could cause the problem. Are there tools to analyze a PDF file that could help? I tried PDF CanOpener, and it didn't help much.
    We are using PDSaveLinearized when we close the document. Any help, ideas or suggestions would be appreciated.
    Thanks,
    Keith Hafen

    What version of Acrobat is being used on what OS platform to print to what PCL6-based printer?

  • IPhone SDK: How to create an image from raw data

    Creating a UIImage from some form of bitmap file format is easy, whether you let UIImage load the file itself or create it with an NSData. But what if you have raw bitmap data in memory and you want to create an image?
    In Cocoa NSBitmapImageRep can be created by passing it a pointer to a block of memory and the relevant heigh, width, bit depth etc. information. From that you can easily create an NSImage. There doesn't seem to be anything equivalent on the iPhone. CGImage can be created but it looks like you have to write a CGImageProvider. CGBitmapContextCreate takes a void * to a block of memory. Does it clear that block?
    Is there a good way to do this?

    ElNono wrote:
    You can't do RGB565 on a CGImageRef/CGContextRef. The only 5bpp modes supported are 1555 ARGB or 5551 RGBA. If you just need to display the image, use OpenGL. One of the supported texture formats is RGB565. If you need to save the image then you're going to have to pre-convert it to RGB888.
    hi ElNono , i have test the RGB888 data now , the image can show , but another problem is the image just like serveral picture over lap together , also is blurred , my code is here:
    const size_t width = 1024;
    const size_t height = 768;
    const size_t bitsPerComponent = 8;
    const size_t bitsPerPixel = 32;
    const size_t bytesPerRow = (bitsPerPixel * width)/8;
    CGBitmapInfo bitmapInfo = kCGImageAlphaPremultipliedLast;
    CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceRGB();
    NSString *imagePath = [[NSBundle mainBundle] pathForResource: @"Test" ofType: @"rgb"];
    NSFileHandle* file = [NSFileHandle fileHandleForReadingAtPath:imagePath];
    NSData* imageData = [file readDataToEndOfFile];
    CGContextRef context = CGBitmapContextCreate((void*)[imageData bytes], width, height, bitsPerComponent, bytesPerRow, colorSpace, bitmapInfo);
    CGImageRef imageRef = CGBitmapContextCreateImage (context);
    UIImage*rawImage = [UIImage imageWithCGImage:imageRef];
    CGColorSpaceRelease(colorSpace);
    CGContextRelease(context);
    CGImageRelease(imageRef);

  • Pdf file created in Word 2008 will not open in Acrobat 8.2.6 or any other Adobe program

    I have created a 12 page newsletter in Microsoft Word Publisher 2008 and have done so many times before with no problem. Today, I have tried to save it as a .pdf file both in Save As and through the printer. Each .pdf file created in Word will not open in Acrobat 8.2.6, Photoshop C3, Adobe Reader  nor any other Adobe software.
    When I go to open it in Acrobat, my Mac gives me the spinning rainbow. If I try to click on the file, I get a watch and then Acrobat crashes or I have to force quit the software. I really need to convert this file and get it to the printer. Any advice???
    Mac OS X 10.6.7
    Word 08 12.2.8
    Acrobat 8.2.6
    Adobe Reader 10.0.0

    Here is a better example.
    https://www.calcerts.com/PBR1.pdf
    is the original PDF file that is uploaded by a user.  Note that it is only 48kb in size.
    I take the file, add a couple of watermarks and a footer for each page as well as a small image on the last page, add security on it and BAM, the file:
    https://www.calcerts.com/PBR1_AFTER.pdf
    is now 1.5 MB and it takes a LONG time to print.
    Thoughts?

  • Trouble Creating System Image in Windows 8.1

    My system: Satellite P55-A5312 with 750GB HDD, Windows 8.1 (upgraded from pre-installed 8.0), BIOS fw 1.90 (just updated)
    Tried to create System Image: Start ==> Search ==> File History ==> System Image Backup ( in lower left corner of the screen).  Successfully finds the 1TB backup drive (newly formatted at NTFS) attached via USB.  Message says 204GB of space will be needed to store the image. (Note: 1TB is almost 5 times what is needed).
    Start Backup ==> "The Backup Failed", "There is not enough disk space to create the volume shadow copy on the storage location, etc.).
    I found the following thread in this forum: http://forums.toshiba.com/t5/System-Recovery-and-R​ecovery/System-Image-Fails-on-Windows-8-1-Pro/m-p/​...
    and am curious what the following recommendation means: "To work around this problem, increase the size of the OEM partition on the backup drive."
    What OEM partition?  My backup drive has a single NTFS partition consuming the entire capacity of the HDD.  What am I doing wrong?
    Solved!
    Go to Solution.

    After increasing the size of 1 partition, the System Image utility completed without error.  To fully confirm, I need to try an image restore.
    The long answer is noteworthy (refer to the attached).  I used 3 different methods to query partition size and usage. 
    1. Disk Management shows that 4 of the 5 partiions are 100% free space.  What I don't understand is how the System Image utility of Windows 8.1 understands the partition sizes/usage but Disk Management does not.
    2.  Macrium Reflect gives what appears to be an accurate representation of the partitions and their size/usage.  It also includes a (hidden?) partition not shown in Disk Management, thus 6 instead of 5 partitions.
    3. MiniTool Partition Wizard agrees for the most part with Macrium Reflect with two notable exceptions.  It shows the 128MB partition has zero free space (vs 113.7MB = 89% free space using Macrium Reflect).  This is a BIG difference.  Also, the C partition showed slightly different usage than Macrium Reflect.
    In the end, I used MiniTool Partition Wizard to modify 1 partition only (increase the 350MB partition to 414MB, resulting in a little more than the mandatory 50MB free space).  The System Image operation then completed without error.
    What baffles me is why 3 different utilities give different results of partition usage (I think they all agree on partition size).  I would have never thought that determining partition usage was akin to rocket science, but perhaps it is...
    Attachments:
    PartitionInfo.pdf ‏241 KB

  • Printing a pdf document created in Acrobat Pro 9.0

    Solved the problem of printing a pdf document created using Acrobat Pro 9.0 with SL - tried many different things form adobe etc and by accident discovered while in Acrobat you have to select ADVANCED in Print then click onto SAVE AS IMAGE in next box and then OK and all prints as it should. Just thought others may want to know this if they have had problems 1

    I'm reviewing your post and while I see a fix, I can't locate the problem that you may have originally posted. Since I'm having issues, I'm hoping your's were the same.
    Sometimes when I print an Adobe Acrobat 9.0 document, most of the printed word fail to print out (although they are in the PDF document). Almost all graphical elements print and the occasional line of text--but most text is missing. Was ti your issue?
    Thanks.

Maybe you are looking for

  • Mac os X often crashed

    Hi guys, does anybody here knows whats wrong with my imac? i bought my imac in february '09 but not the newest one. Everytime i want to quit few applications at the same time such as, Logic pro 8, reason 4, my mac os x always crashed which a black sc

  • How execute UNIX commands?

    Hi, does anyone know how to execute an UNIX command in Java? Command-> find -name '*.dmp' in a directory called /db/Backup? What are the parameters that i've to pass in for this function-> Runtime.getRuntime().exec(); ??? And how do i get the filenam

  • Setup File / Configuration File Question

    I was hoping to get some insight as to which is the recommended way of using setup files for stuff like data paths and other general parameters that the user can set like fonts and colors when they are running a compiled app (a labview app built as a

  • Updating 10.7.1 to 10.7.2 error

    When I did software update 10.7.2 , after downloading the file you need to restart to installing the upgrade, when I did it the software start to extract and giving after 10 sec. the message: THE UPDATE" MAC OSX UPDATE" can't be installed. The update

  • What effects (if any) do os signals (eg. SIGABRT, SIGBREAK, SIGFPE, etc) have on nidaq functions?

    I am attempting to catch and handle any break or terminate signals, so that I can properly clean up before exitting. The signal handling itself works - that is I hit ctrl-c during the program, and the signal function begins to execute, but the progra