Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

png slow with mobi #533

Open
axu2 opened this issue Jun 3, 2023 · 0 comments
Open

png slow with mobi #533

axu2 opened this issue Jun 3, 2023 · 0 comments
Labels
good first issue Good for newcomers GUI Kindle Kindle device

Comments

@axu2
Copy link
Collaborator

axu2 commented Jun 3, 2023

Should use gif instead of png

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

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

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.

@axu2 axu2 closed this as not planned Won't fix, can't repro, duplicate, stale Jun 9, 2023
@axu2 axu2 changed the title Use gif instead of png Kindlegen slow png Jun 10, 2023
@axu2 axu2 changed the title Kindlegen slow png Use gif over png with mobi Jan 11, 2024
@axu2 axu2 added GUI Kindle Kindle device good first issue Good for newcomers labels Jan 11, 2024
@axu2 axu2 reopened this Jan 11, 2024
@axu2 axu2 changed the title Use gif over png with mobi png slow with mobi Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers GUI Kindle Kindle device
Projects
None yet
Development

No branches or pull requests

1 participant