Print Page | Close Window

EMF to PDF

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=926
Printed Date: 17 May 24 at 7:14AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: EMF to PDF
Posted By: waynefulcher
Subject: EMF to PDF
Date Posted: 04 Aug 08 at 11:12AM
I know this is somewhat of a repost, but I was wondering if someone would just give me a confirmation that the iSEDQuickPDF library in fact does not actually convert EMFs to PDFs. I have tried many different EMFs, some seemed to get part of the image but most seem to not get any of the image. I am using version 5.21 since it appears to be the last version available that has the Delphi 7 DCUs.
 
Has anyone ever successfully converted an EMF to a PDF?



Replies:
Posted By: jwhitham
Date Posted: 25 Aug 08 at 2:48PM
I've successfully added both WMF and EMF to PDFs using AddImageFromStream(). However they do not work if they contain bitmaps. Whether this is a bug in QP or a limitation in PDF I'm not sure.
 
I would be interested to know if anyone knows a way to test if a metafile contains a bitmap? QP returns success when adding and drawing the metafile, also one can find the size from QP, but nothing renders, with QP or Reader.


Posted By: jwhitham
Date Posted: 26 Aug 08 at 5:34PM
Had a look through uPDFMetafile.pas and found that all vector and text metafile records seem to be correctly dealt with, all bitmap records are however ignored. Not truly a bug I guess, just a limitation.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk