File size increase with embedded image annotation in Jpeg format

Questions, comments and suggestions concerning VintaSoft Annotation .NET Plug-in.

Moderator: Alex

Post Reply
gpbabu
Posts: 16
Joined: Wed Dec 14, 2016 9:01 pm

File size increase with embedded image annotation in Jpeg format

Post by gpbabu »

Hello Alex,

We are using Embedded image annotation with JPeg format for both main file and the embedded image. When we save the file, file size increases significantly. For an embedded jpeg file of size 650K, total image size increases by 10MB. Is library converting Jpeg into PNG for embedded images when saving? This is reproducible with WpfAnnotation demo.

Thanks
Babu
Alex
Site Admin
Posts: 2305
Joined: Thu Jul 10, 2008 2:21 pm

Re: File size increase with embedded image annotation in Jpeg format

Post by Alex »

Hello Babu,

Yes, SDK converts image of the embedded image annotation to a PNG image and saves the PNG image into annotation packet.

Best regards, Alexander
Alex
Site Admin
Posts: 2305
Joined: Thu Jul 10, 2008 2:21 pm

Re: File size increase with embedded image annotation in Jpeg format

Post by Alex »

Hello Babu,

In version 8.6.15.1 we have added the ability to set the image encoder for serializing EmbeddedImageAnnotation. The image encoder can be set using AnnotationFormatter.DefaultImageEncoder and AnnotationFormatter.ImageEncoder properties. Please try to use version 8.6.15.1 and let me know if you will have any question or problem.

Best regards, Alexander
gpbabu
Posts: 16
Joined: Wed Dec 14, 2016 9:01 pm

Re: File size increase with embedded image annotation in Jpeg format

Post by gpbabu »

Thanks Alex. I just saw 8.6.15.1 release info. We really appreciate your prompt support on this. This is very critical for us.

Regards
Babu
Post Reply