10-14-2012 08:12 PM
I'm trying to load a png file in my app to later screen_blit it to a window. I have a couple of questions:
1. How do I find the full path to a file in my package?
2. Can I use img_load_file to decompress a png into RGBA8888 uncompressed bitmap suitable for blitting. Does anyone have a code snippet I can peruse?
Many thanks in advance.
Solved! Go to Solution.
10-15-2012 02:42 AM
try the following steps to load the image file in your application.
first, add your image file in bar-descriptor.xml file in assets tag
and give the file path as "app/native/imagefilename". I hope this will work for you.
02-18-2013 09:30 AM
Hi my name is Joe, and am currently doing my 4th year project, am trying to load multiple images, resize them and position on different location on the playbook screen, so i can use the as buttons, i have tried editing the Gesture Sample but am still not able to able to resize and position them on areas on the screen, please help me solve the problem. Thanks