kcc icon indicating copy to clipboard operation
kcc copied to clipboard

png slow with mobi

Open axu2 opened this issue 1 year ago • 0 comments

Should use gif instead of png

Since kindlegen converts png to gif which multiplies the processing time. As noted in

  • #41

On that note should probably add an option to match output format to input, since a png source converted to jpg can actually make things bigger and vice versa. I bet that's what's happening in

  • #349

EDIT:

Was as simple as adding this:

                # self.image.info["transparency"] = None
                self.targetPath += '.gif'
                self.image.save(self.targetPath, 'GIF')

GIF is problematic on Scribe though.

  • #665

axu2 avatar Jun 03 '23 22:06 axu2