JavierCoronel / mosaic_generator

This repository contains python scripts that converts any image into a mosaic representation.
MIT License
1 stars 0 forks source link

Output images size #4

Open Liloscode opened 2 weeks ago

Liloscode commented 2 weeks ago

I’ve recently started exploring the capabilities of your impressive mosaic_generator tool! I’d like to know if there's an option to increase the output image resolution or ideally to retain the original input image dimensions. Thanks in advance for your guidance.

JavierCoronel commented 1 week ago

Hi @Liloscode, and sorry for the late reply. I'm glad you're using the code :). What you just mentioned would be a nice feature, I think I'll have a look at it later this week. For now, if you just want to give it a quick try, you could increase the dpi value in the following line and then run the code again: https://github.com/JavierCoronel/mosaic_generator/blob/7e3669475edc74248a4011ca4cb85bc659894018/mosaic/mosaic_generator.py#L72 It wouldn't result in the same input's image resolution, but it should save the output mosaic with a better resolution. Let me know if that works!