Skip to main content
Participant
December 6, 2017
Question

I want to convert a single layer gif file to jpg.

  • December 6, 2017
  • 1 reply
  • 527 views

I want to convert a single layer gif file to jpg.

In this case, 'save as' seems impossible.

It seems to be possible using 'save for web'.

What if I want to make it a plug-in?

Perhaps you should use the code below.

Do you know how to use it specifically?

error = sPSActionReference-> PutEnumerated (reference,

                                                                           classMenuItem,

                                                                           typeMenuItem,

                                                                           enumSaveForWeb);

This topic has been closed for replies.

1 reply

Legend
December 6, 2017

Saving GIF to JPEG may be blocked because it is such a bad idea. The different kinds of compression are such opposites that the file will neither compress well nor look nice. Just a thought. For save as to work, try converting to RGB and check Save a copy.

If you want to write plug-ins you need to look into the whole framework of how they load into Acrobat and make them work, you can't just take single lines in isolation.