Indexed JPEG output profiles
Opened this issue ยท 6 comments
template is bold
sample data is italicized
Feature Description: An option to output rendered images as indexed JPEGs using a web-optimised profile such as 8-bit or 12-bit. This would allow people to store high-res maps on hosts like Shockbyte.
- Additional context: Unfortunately IDK how image profiles work here so can't provide pointers.
I assume you know about the render image output defaults here like highly compressed jpeg - https://github.com/webbukkit/dynmap/wiki/HD-Map-Configuration#additional-hdmap-settings
I don't know if JPEG supports indexed colours. PNG would. Are you thinking of a preset like "png-8bit", and how do you image it looking and choosing colours? Predefined index? If it was let loose it would choose colours per image tile
Sure, PNG or BMP even. Perhaps conversion to 8bit with dithering.
Predefined index? If it was let loose it would choose colours per image tile
Hmm can ImageMagick choose colors between a set of images?
One thing I notice not on that page but referenced elsewhere is that you can use WebP, webp-q7 etc.
I'm not sure what your Shockbyte requirements actually are - is it maximum file size? Total size across the whole map? What are you trying to achieve
I don't use Shockbyte anymore thank goodness, but WebP sounds perfect.
Probably addresses this issue actually.
Nice. Try it at both resolutions if you can, and report back here compared to current (jpg? jpg-60?) - always keen to hear things work out.
And if not, there might be more room for quick tests and improvement ๐๐๐ฝ