Message from JavaScript discussions

December 2017

— Could somebody help me out?


I have a situation where I need to create a PNG image from a written text with a option to not blend text with the background, using canvas.

— This is what I have now using javascript and CSS image-rendering: pixelated;:

— And I'd like to accomplish something like:

— Heh, the reason for you wanting this is probably to do something you shouldn't do

— What's the situation?

— Why do you need that image?

— It's very specific

— I have a custom app that uses PNG images as fonts... don't ask why 😆

— Now I need a monochromatic font

— I wrote a Javascript code to create this fonts for me

— Yeah.... don't do that