djfun / mc-map-item-tool

web tool for converting images to minecraft maps
Other
82 stars 17 forks source link

Add support for selecting image interpolation method #10

Open qb20nh opened 9 years ago

qb20nh commented 9 years ago

Especially nearst neighbor, for Minecrafty pixel feeling.

djfun commented 9 years ago

You can now select Nearest Neighbor interpolation in the settings. If you use Google Chrome the preview of the uploaded image under "Original image:" will not look correct, it should however look correct under "Map item:" and then be processed correctly to a minecraft map item.

qb20nh commented 9 years ago

Awesome! Do you have any plans for adding bicubic, bilinear, lanczos(super sampling for downscaling) etc?

djfun commented 9 years ago

I would have to implement these myself/use external libraries for that (the nearest-neighbor one is implemented by the browsers). Also I am not sure how fast (or rather slow) these would be. Some searching and testing has to be done first, before I can decide whether I want to add these or not.