I am developing one application in which i created the embedded annotation so i use this(GdViewer1.AddEmbeddedImageAnnotInteractive) method..
And then i burn the page so this annotation is burn in pdf..but size of this pdf is so increase..
So i want to use Drawimage method of GdPicturePDF to decrease the size of pdf..
So anybody has any idea how to implement clone of AddEmbeddedImageAnnotInteractive using Drawimage method in GdPicturePDF ?
Decrease the size of pdf in AddEmbeddedImageAnnotInteractive??
Currently the burning annotation mechanism creates a bitmap from the initial page content. In a future version we will overlay a vector layer that will produces smaller content.
For now what you can do is:
- Extract the bitmap from the page.
- Resize the bitmap.
- Replace the initial page bitmap by the one extracted.
An example of such practice can be found here: viewtopic.php?t=3594
Thanks for your quick reply..
Is there use GDpicturePdf.Drawimage() method to made clone of AddEmbeddedImageAnnotInteractive() ?
If yes then pls give me example?
Could you clarify the question? I am not sure to correctly understand.
Thanks for your reply.
Now i have solved it..But there is some issue regarding pdf size...
Below steps are followed to save pdf.
1.To add annotation with the help of AddEmbeddedImageAnnotInteractive()
2.Then burn annotation using BurnAnnotationToPage()
3.Then compress using jbig2 compression.
3.And save pdf ...
My pdf size is 300kb..and it is in color
After BurnAnnotationToPage() pdf size become 800kb.
Then it compressed using jBig2 then size is reduced and became 700kb.
But it is so much large size..
So if u have any idea to more reduced pdf size then please help me..
Here an update about such issue: GdPicture.NET 10 come with a GdPicture/XMP annotation vector burning mode. This permits to keep initial page vector content, quality, reduces time and dramatically reduces generated page size. We've updated our annotation application demo delivered with the installation package to demonstrate how to achieve that.
Download link: http://www.gdpicture.com/download.php
If you need any additional information just jet me know.
With best regards,
Who is online
Users browsing this forum: No registered users and 2 guests