Layered Images

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
PeterG
Posts: 168
Joined: Sat Jun 29, 2013 7:56 pm

Layered Images

Post by PeterG » Thu Jul 21, 2016 11:48 am

Hi Guys
LC is still fairly foreign to me.
I was wondering if it is possible to store the following bore hole results in a MySQL database with LC.
It needs to record what formation of soil or grid that was found between say 0 to 1 meters and 1 to 5
meters and 5 to 10 meters. For each of the levels an image must be stored based on what was found.
There are 9 standard transparent images with patterns that resemble what can be found. Lets say Clay SILT was found as well as Granite, it needs to super impose the images for Granite and Clay SILT

Any pointer would be appreciated and is this possible in LC
Thanks
Peter G

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10330
Joined: Wed May 06, 2009 2:28 pm

Re: Layered Images

Post by dunbarx » Thu Jul 21, 2016 2:13 pm

Hi.

I do not use SQL, but your questions about storing, referencing and accessing images is easy and straightforward. LC can do it all, and I assume the SQL stuff as well.

For a start, you should import two images. Set their rects and lock their sizes and positions. Overlay one on top of the other, perhaps with an offset. Now adjust the blendLevels of each. This adjusts the "transparency" of each image.

Craig Newman

PeterG
Posts: 168
Joined: Sat Jun 29, 2013 7:56 pm

Re: Layered Images

Post by PeterG » Thu Jul 21, 2016 5:37 pm

Hi Craig
Many thanks for your inputs.
I will give this a try

Peter G

Post Reply