Closed baqt99 closed 2 months ago
when i read an image with 96 dpi, 24 bits then save it, the result is 72 dpi 32 bits
from PIL import Image import pillow_avif image = Image.open("img.jpg") compression_quality = 90 # Example quality level image.save("output.avif", format="AVIF", quality=compression_quality)
it turns out that even if another program is used it does the same things, the colors look a little bit different converting from jpeg to avif, but converting back to jpeg makes them look like the original jpeg
when i read an image with 96 dpi, 24 bits then save it, the result is 72 dpi 32 bits