After finishing to colorized a map I have realized that the map was only a small part of a bigger drawing. And I need to color everything because the big view is also used in the game for another map.
It takes a lot of hours to colors 1920*1080 picture with lots of small things, so the tree is not finished. There are so many leaves, I am trying to have the same texture but with a pencil.
I have a bigger picture than this, so it’s easy to see the leaves but also time-consuming.
I have also retried emscripten to see if the library has progressed.
So I want to import Jpeg I have to port libjpeg and modify SDL2_image, I have already spent two weeks on SDL and Emscripten to find out the library is not yet mature.
I have changed libraries so I do not use SDL_images, I directly load the image with SDL_gpu which use stbi_image for the loading. The compilation of SDL_gpu is complete. After a small display test, it’s working fine with OpenGL ES2. I can port the game with emscripten now but there is a major downside compared to pixijs.