storage image in var problem

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
BigameOver
Posts: 39
Joined: Thu Jan 23, 2020 5:56 pm

storage image in var problem

Post by BigameOver »

Hi,
When I put an image I captured from camera into a variable I see the image in zoom on the screen
How do I fix this?
Thanks
Attachments
Webp.net-resizeimage (1).jpg
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10415
Joined: Fri Feb 19, 2010 10:17 am

Re: storage image in var problem

Post by richmond62 »

I'd put it into the custom property of something rather than a variable; then it should not
show up on screen.
BigameOver
Posts: 39
Joined: Thu Jan 23, 2020 5:56 pm

Re: storage image in var problem

Post by BigameOver »

I put the result into a custom property of a button but it still doesn't work
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10415
Joined: Fri Feb 19, 2010 10:17 am

Re: storage image in var problem

Post by richmond62 »

it still doesn't work
Do you mean the image still shows up on screen?
BigameOver
Posts: 39
Joined: Thu Jan 23, 2020 5:56 pm

Re: storage image in var problem

Post by BigameOver »

richmond62 wrote: Sun Sep 27, 2020 1:47 pm
it still doesn't work
Do you mean the image still shows up on screen?
Yes
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: storage image in var problem

Post by Klaus »

What did you script so far?
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10415
Joined: Fri Feb 19, 2010 10:17 am

Re: storage image in var problem

Post by richmond62 »

A button:
-

Code: Select all

on mouseUp
set the screenLock to true
---
-- your import routine here
---
set the PICPROP of me to img "SomeDaftImage"
delete img "Some DaftImage"
wait 5 ticks
set the screenLock to false
end mouseUp
-
?
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: storage image in var problem

Post by Klaus »

LOCKSCREEN, Richmond, LOCKSCREEN! 8)
richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10415
Joined: Fri Feb 19, 2010 10:17 am

Re: storage image in var problem

Post by richmond62 »

Whoops . . . Yes. 8)
BigameOver
Posts: 39
Joined: Thu Jan 23, 2020 5:56 pm

Re: storage image in var problem

Post by BigameOver »

richmond62 wrote: Sun Sep 27, 2020 2:09 pm A button:
-

Code: Select all

on mouseUp
set the screenLock to true
---
-- your import routine here
---
set the PICPROP of me to img "SomeDaftImage"
delete img "Some DaftImage"
wait 5 ticks
set the screenLock to false
end mouseUp
-
?
Woops, I forgot to delete the last image, thanks!
Post Reply