bigcat88 / pillow_heif

Python library for working with HEIF images and plugin for Pillow.
BSD 3-Clause "New" or "Revised" License
221 stars 17 forks source link

AI Image generation with heic images #284

Closed CodeOfDuty44 closed 2 months ago

CodeOfDuty44 commented 2 months ago

Has anyone tried training AI images generation models(e.g. lora for stable diffusion) with heic images read with pillow-heif? Resulting generated images look weird, aspect ratio is somehow corrupted and people's head tends to get wider. Also, it affects learning as well, the model underfits. What are some potential points that I might be missing?

P.S When I check the image before feeding it to stable diffusion, everything looks normal.

Edit: It was not related to piilow-heif library, issue can be closed.