Image Manipulation Module
Monkey Archive Forums/Monkey Projects/Image Manipulation Module
| ||
I have created a simple image manipulation module :) (this can be used (for example) to get the user to draw their own character, and then apply effects to it) Download Here Example HERE All functions return a new image (the new returned image retains the originals smooth alpha) Tested working on HTML5 and Flash, but should work on all platforms. It currently has the following functions: HFlip() VFlip() ColorImage() Desaturate() ResizeImage() RotateImageContents() ApplyImageMask() CombineImages() AddCircle() AddSquare() Invert() CopyImage() Pretty self explanitory, Howto code below. Any requests and Ill try :) |
| ||
Probably worth linking this here: http://www.monkeycoder.co.nz/Community/posts.php?topic=4344 |
| ||
Example added: Example Here New Features Added: Image Blur - you can set the amount Comine Images - you can set an offset and it auto enlarges if needed Add Circle to Image - you can set colour and location Add Square to Image - as above Download module Code for the example is as simple as: |
| ||
Handy stuff, thank you! :) |
| ||
Nice work! |
| ||
Fantastic :D I will very much use the image blur thingy. |
| ||
that blur could be interesting. I need to test it ASAP :D thanks, |
| ||
New Things Added: Invert CopyImage Addeed a new example showing all effects - please check out! Download Here Example HERE |
| ||
Very useful! The first use I see for this is for a scene-changer routine, taking a "snapshot" of the game screen and blurring it to the new scene. |
| ||
297chrisc No working example. |
| ||
The domain is down, does anyone have this code? |
| ||
I have. |
| ||
Thanks, could you post it? |
| ||
http://www.softexe.com/files/imagemanipulation.zip |
| ||
BTW I did some changes in the module for my real project |
| ||
Great, thanks. |