Decrese the pdf size with AddEmbeddedImageAnnotInteractive
Decrese the pdf size with AddEmbeddedImageAnnotInteractive
Hi All,
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 ?
OR
Decrease the size of pdf in AddEmbeddedImageAnnotInteractive??
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 ?
OR
Decrease the size of pdf in AddEmbeddedImageAnnotInteractive??
Re: Decrese the pdf size with AddEmbeddedImageAnnotInteracti
The following answer is deprecated, see the bottom of this topic for more information...
Hello,
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
Kind regards,
Loïc
Re: Decrese the pdf size with AddEmbeddedImageAnnotInteracti
Hi loic,
Thanks for your quick reply..
Is there use GDpicturePdf.Drawimage() method to made clone of AddEmbeddedImageAnnotInteractive() ?
If yes then pls give me example?
Thanks for your quick reply..
Is there use GDpicturePdf.Drawimage() method to made clone of AddEmbeddedImageAnnotInteractive() ?
If yes then pls give me example?
Re: Decrese the pdf size with AddEmbeddedImageAnnotInteracti
Hello,
Could you clarify the question? I am not sure to correctly understand.
Regards,
Loïc
Could you clarify the question? I am not sure to correctly understand.
Regards,
Loïc
Re: Decrese the pdf size with AddEmbeddedImageAnnotInteracti
Hello loic,
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..
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..
Re: Decrese the pdf size with AddEmbeddedImageAnnotInteracti
Hello,
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: https://www.gdpicture.com/download.php
If you need any additional information just jet me know.
With best regards,
Loïc
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: https://www.gdpicture.com/download.php
If you need any additional information just jet me know.
With best regards,
Loïc
Who is online
Users browsing this forum: No registered users and 2 guests