[Pipmak-Users] Imaging manipulation methods
Status: Alpha
Brought to you by:
cwalther
From: Andrea V. <and...@gm...> - 2008-01-08 12:58:39
|
Hi, Christian I'm start a new tread, because I cannot manage to visualize your last reply in gmane (but only in nabble) which across the two mailinglist (start from "devel" end go to "user") http://thread.gmane.org/gmane.games.devel.pipmak.devel/77 About image manipulation, I understand that loadimage() come from last pipmak version, when image manipulation was not possible, and you want preserve its old behaviour. With the Adding the constructor newimage("/path/image.ext"), loadimage could become obsolet and maintained only for backward compatibility. Another possibility could be adding method: image:copyfrom("/path/image.ext") and next image:copyfrom("/path/image.ext",x,y,w,h) permitting the loading of a image file just in a limited portion of the newimage, this will be very usefull, instead using a lot of patches to create composed image. I don't known if having object carrying modifiable and unmodifiable image could be a good idea...I think could confuse newbies... Andrea |