I am just stating to program in livecode/ios. I want to add an image to an app. I place a .png image and resize it as it is too large for the screen. I add the file path to the additional files box or it does not display. However in the simulator the file shows as its original, too large, size. If I do the same thing directly in Xcode, not using liveCode, the image shows at the correct size.
What do I have to do to in liveCode make the image show at its resized size in the simulator?
Any help appreciated.
Images
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- VIP Livecode Opensource Backer
- Posts: 3901
- Joined: Sat Mar 24, 2007 2:54 am
- Location: Palo Alto
Re: Images
In the Property Inspector for the image select lock size and position.
But that is not really the best way as you should actually resize the file so you don't waste memory space.
From the lesson:
http://lessons.runrev.com/s/lessons/m/4 ... nail-image
One of my all time favorite lines:
set the imagedata of image tImageName to the imagedata of image tImageName
Will reduce the file size.
If I didn't answer your question just ask again.
Simon
OH, And welcome to the forum!
But that is not really the best way as you should actually resize the file so you don't waste memory space.
From the lesson:
http://lessons.runrev.com/s/lessons/m/4 ... nail-image
One of my all time favorite lines:
set the imagedata of image tImageName to the imagedata of image tImageName
Will reduce the file size.
If I didn't answer your question just ask again.
Simon
OH, And welcome to the forum!
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: Images
I moved this thread to the correct forum, this is definitvely NOT an announcement!