Search the Community
Showing results for tags 'image processing'.
-
Hi everyone, I have a picture that I draw pixel by pixel on the canvas. Size of the image: 512 * 256. When I make this picture 1536 * 768, the image looks very bad. I think I can use interpolation to fix this. But I couldn't find a good javascript library. It didn't work in the libraries I found. Is there anyone who can help me with this?
- 1 reply
-
- interpolation
- javascript
-
(and 3 more)
Tagged with:
-
As some have already pointed out in this forum there is a problem with scenes stretching ahead with a sudden cut-off at a horizon. Objects just beyond the horizon suddenly pop completely into view on the slightest forward movement. I have addressed this in my program The Forest ( https://www.myforest.uk ) by making the scene hazy (or foggy) towards the horizon, if the user switches this effect on via a check box on the page. A couple of example scenes are attached here. I have written a detailed description of how I programmed it ( https://www.grelf.net/forestdesign.html#fog ). My code is plain HTML5/JavaScript using no framework and only the standard 2D graphics context because I want my program to run on as many platforms as possible. So my documentation explains how to process images in that environment and indeed how to copy an object of type Image complete with its pixel data, which is not entirely obvious or straightforward. I hope this may be useful to others.
-
- image processing
- design
-
(and 2 more)
Tagged with:
-
Hi there, I am trying to create an image processing app, and what I need to do is chain multiple filters together. For example, I might need to do something like: render filter1 to A render filter2 to B use both A and B as the input to filter3, giving me the output that I want to render to the screen. Can I do this? I know that I can do something like: image.filters = [filter1, filter2] When I was working in image processing before, using directX, I rendered to something called RenderTargets, and then could pass these in to the next filter... I believe openGL uses FrameBuffers to do this. Is this possible with PIXI? I can give more details if necessary Thanks! Paul