RaspberryPi Stacks

Moderators: heatherlaine, Klaus, FourthWorld, robinmiller, kevinmiller

VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1693
Joined: Thu Feb 28, 2013 11:52 pm
Location: Göttingen, DE

Re: RaspberryPi Stacks

Post by [-hh] » Fri Feb 16, 2018 8:39 am

Raspberry Pi stacks collection #106 = beforeAfterImage.livecode

Before-After-Image = LC-Magick #12
version 1.0.0 of Feb 16, 2018

Before-After-Image shows an "original" image (image "before") and a selectable horizontal or vertical part of it visually replaced by the changed image (image "after").

A button (at bottom right) switches the order of "before" and "after" parts.
You select the proportions of the parts by sliders.

For use in your own stack you only have to provide *one* "before-image" and *one to many*
"after-images" -- as the demo shows.
  • Use LC 6.0.5 (or slower: 7.0.4) on Raspi.
  • Use LC 6.7.11 / 7.1.4 and 8.1.6/ 9.0.0 or later on Mac/Win/linux
The stack is too large for the forum. You can have it
  1. by opening an LC IDE, version as denoted above, then type in or copy-paste to msg:
    [EU] go stack url ("http://hyperhh.org/xstacks/beforeAfterI ... 0.livecode")
    [US] go stack url ("http://hh.on-rev.com/xstacks/beforeAfte ... 0.livecode")
  2. by downloading in your browser
    [EU] http://hyperhh.org/xstacks/beforeAfterI ... vecode.zip
    [US] http://hh.on-rev.com/xstacks/beforeAfte ... vecode.zip
    Then open it in an LC IDE, version as denoted above.
Vertical "Before" and "After" (Dithered)
BeforeAfterV.png (151.66 KiB) Viewed 310 times
Horizontal "Before" and "After" (Dithered)
beforeAfter.png (151.46 KiB) Viewed 315 times
shiftLock happens

Post Reply

Return to “Raspberry Pi”