How do I stop GIF images converting to JPEG?

We’re evaluating which HTML to PDF converter we’re going to use in a project and so far things are looking for Aspose. However, we’ve found two problems. The second one (first is in another ticket) is that GIF images are converted to JPEG files which leads to larger sizes and image quality degradation.

Is there a way around this (ie, keep it in a non destroyed format). I’ve tried changing the compression settings but the logo still looks bad. In competitors products the gif is stored as an “image” instead of “jpeg” and quality is preserved.

test.zip (2.5 KB)

aspose-gif-jpg.pdf (73.0 KB)

Optimization settings:

var optimizationOptions = new Aspose.Pdf.Optimization.OptimizationOptions();
optimizationOptions.RemoveUnusedObjects = true;
optimizationOptions.RemoveUnusedStreams = true;
optimizationOptions.AllowReusePageContent = true;
optimizationOptions.LinkDuplcateStreams = true;
optimizationOptions.UnembedFonts = true;
optimizationOptions.ImageCompressionOptions.CompressImages = false;
optimizationOptions.ImageCompressionOptions.ImageQuality = 100;
optimizationOptions.ImageCompressionOptions.ResizeImages = false;
pdfDocument.OptimizeResources(optimizationOptions);

@andreasjohansson

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): PDFNET-58195

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

Thanks for the quick reply, appreciated! I’ve read up on Paid support and would just like to verify that my understanding is correct. Paid support will get us priority and a response within 24 hours but there’s no guarantee that the issue will be fixed (ever).

We’re evaluating Aspose PDF .NET and for our purposes we need a Site OEM license which means that license + support excluding VAT will come close to $30.000 for a product that we don’t if we can use since we don’t know if a fix is possible or will be provided.

Have I understood it correctly?

If so, I have a very hard time making the argument for Aspose to my manager even though the product fulfills our purposes otherwise and is the fastest product around in my tests.

@andreasjohansson

We address and resolve every issue reported by our customers. However, they are prioritized on first come first serve basis in free support model. We recommend paid support if issue is a showstopper or blocker and needs to be resolved on urgent basis.

The response your received in our previous message was posted automatically when we opened and linked the ticket for your case with this forum thread. It does not necessarily mean that we are suggesting or convincing you to opt out for paid support option. It was a general message by our automated system.

Our many customers are using paid support options and they use it for the issues which need to be addressed on urgent basis. Yes, it does not guarantee an immediate solution, but getting updates and workarounds become quicker in this mode.

Nevertheless, your comments and concerns have been recorded and we will investigate the feasibility of the feature accordingly. As soon as the ticket is resolved, we will inform you via this forum thread. We are sorry for the inconvenience.

Thanks for the reply. I fully understand your situation as well, I’m just pointing out the catch 22 that we’re in.

@andreasjohansson

We understand your concerns and have update the ticket information accordingly. We will consider them during investigation and let you know as soon as we have some solution. We apologize for the inconvenience caused.