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 » Sat Jul 14, 2018 5:50 pm

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: 1574
Joined: Thu Jul 10, 2008 2:21 pm

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

Post by Alex » Mon Jul 16, 2018 10:10 am

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: 1574
Joined: Thu Jul 10, 2008 2:21 pm

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

Post by Alex » Thu Jul 19, 2018 10:09 am

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 » Fri Jul 20, 2018 5:55 am

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