android - read an image, resize it and resave it : corona SDK -
in 1 of apps in corona sdk, have image named home.png (480x380 px)
application files. want read image, resize (to 240 x 240), , save new 1 png file specific name.
any advice appreciable...
at momment can't resize images size want in corona can use display.save() instead.
http://docs.coronalabs.com/api/library/display/save.html
i want save anywhere in resources library
no can't save in resources directory use system.documentsdirectory instead.
more info:
http://docs.coronalabs.com/api/library/system/pathforfile.html
Comments
Post a Comment