Skip to content
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.

Image automatically converted to png after slicing bmp image #30

Open
jwngo opened this issue Dec 6, 2019 · 1 comment
Open

Image automatically converted to png after slicing bmp image #30

jwngo opened this issue Dec 6, 2019 · 1 comment

Comments

@jwngo
Copy link

jwngo commented Dec 6, 2019

After slicing a 4K .bmp image into 16 tiles with slice() method, the saved images are in .png, which causes a loss in quality.

Is there a way to save it in the same extension?

@samdobson
Copy link
Owner

Passing format='bmp' should do the trick. Currently the default output format is png - carrying through the original file format by default would be a nice enhancement. Tagging for the backlog.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants