Closed MggMuggins closed 8 years ago
Crafting Guide does use exactly the interpolation you describe, but it clearly isn't working as expected on your browser. Can you tell me what browser & OS you're using, and possibly send me a screenshot of what you're seeing?
It'll be an Opera Issue then. I'm running Ubuntu 15.10 Wily Werewolf, and Opera 37.0. I'll show you the image, you just didn't add support for the interpolation method for Opera, which is understandable. The only reason my wiki has it is because the guy who wrote the code knew I used Opera and added that line.
The image as you show it is what I would expect to see, with each pixel clearly distinct instead of being blurred and distorted. For the original Minecraft art, it's more extreme than with some of the higher-res textures from certain mods (e.g., Galacticraft), but that does look as expected (and, I might add, what I see on the LOTR wiki).
Try downloading the full-size image there and see what you see. I agree it's hard to see the problematic scaling from that shot in the resolution it is, but the interpolation method is incorrect in Opera. ~Samwise
I guess I'm not clear on what you're expecting to see. Can you paste in an image which looks like what you're expecting?
I've got one that my browser has zoomed and the actual source file from the wiki here:
~Samwise
As something that we have done to our wiki (see http://lotrminecraftmod.wikia.com/wiki/The_Lord_of_the_Rings_Minecraft_Mod_Wiki for the wiki), it has been really useful for easy texture use. Basically, the web automatically uses the some interpolation method (most likely cubic, although I really don't know for sure) to make zooming images look nicer. It works, for the most part. However, in the instance of crafting guide, the vast majority of your images are both tiny, and look better without blurring. So hence, I suggest setting the interpolation method on the site to None, that way, both the zoomed item previews are not blurred, but also so that the main icon is clear, and so that more flexibility could be added for image size. The update would make the site much cleaner and more professional looking.
EDIT: See our http://lotrminecraftmod.wikia.com/wiki/MediaWiki:Common.css for the CSS code on how we did this. I'm not sure whether or not the code would be directly applicable to crafting guide, but if it is, go ahead and use it. The license on the wiki allows merciless editing and copying. Also I know the guy who wrote the code...