Search found 495 matches

by bidgeeman
Wed Aug 09, 2017 1:01 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Images in Livecode
Replies: 111
Views: 8926

Re: Images in Livecode

Thank you HH.
That might be a bit out of my league at the moment .
I'll keep trying my hardest with the binary stuff.

Bidge
by bidgeeman
Wed Aug 09, 2017 12:28 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Images in Livecode
Replies: 111
Views: 8926

Re: Images in Livecode

Thank you for all the replies. Klaus....thank you for the stack. I had a good laugh at the comments :) I managed work out how to save the imageData and the alphaData earlier today but I was wondering if there was a way to save the imageData and the AlphaData into 1 combined binary (other than a .png...
by bidgeeman
Wed Aug 09, 2017 8:18 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Images in Livecode
Replies: 111
Views: 8926

Re: Images in Livecode

Hi Thierrty Thanks for your input.Nothing at all ends up in the resulting file with your adjusted code? This is getting so frustrating. I don't know what to do? I had success with the way I was doing it before using imageData and alphaData but i don't know how to save two data chunks from one image ...
by bidgeeman
Wed Aug 09, 2017 7:48 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Images in Livecode
Replies: 111
Views: 8926

Re: Images in Livecode

Hello jaque. I just tried that but it does not work? How do you save out the binary text data of the image in the first place? Just to be clear I am trying to save out a png as an binary file then reload it as an image. It's probably my bad coding :) I end up with nothing in the resulting file. on m...
by bidgeeman
Wed Aug 09, 2017 4:31 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Images in Livecode
Replies: 111
Views: 8926

Re: Images in Livecode

Hi. I managed to solve the AlphaData issue but now I need to learn how to save 2 types of data into 1 file, alphaData and imageData and also retrieve them separately so they can be applied to the image. I have only ever saved something as a combined file? EDIT: Please cut me a little slack here as I...
by bidgeeman
Wed Aug 09, 2017 3:07 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Images in Livecode
Replies: 111
Views: 8926

Re: Images in Livecode

[SOLVED] :) put the imageData of image "Image" into tIm put the alphaData of image "Image" into tImB set the imageData of image "Image3" to tIm set the alphaData of image "Image3" to tImB Ok...I tried losing the field as suggested and still no alpha data loads. EDIT: A simple experiment of moving on...
by bidgeeman
Tue Aug 08, 2017 2:56 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Images in Livecode
Replies: 111
Views: 8926

Re: Images in Livecode

Thanks Klaus. I will try again in the morning.
Bidge
by bidgeeman
Tue Aug 08, 2017 4:45 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Images in Livecode
Replies: 111
Views: 8926

Re: Images in Livecode

[SOLVED] I create the binaries directly from my main stack and that is working. I have a very ODD problem. I created a little stack to convert my images to binary but when I load the files into my main stack they are warped???? But...if I load them into the same image container in the converter stac...
by bidgeeman
Tue Aug 08, 2017 4:43 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Ask file "selected filter" expression.
Replies: 6
Views: 1144

Re: Ask file "selected filter" expression.

Posted in wrong thread. Sorry.
Bidge
by bidgeeman
Tue Aug 08, 2017 1:03 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Images in Livecode
Replies: 111
Views: 8926

Re: Images in Livecode

Hi jaque. I saved out a jpg after converting it to a .txt file in LC and then changed the file extension back to jpg manually and nothing would open it at all. What is the reason for this if images are already binary, why will paint programs not open them? EDIT: Also, I tried to flip a character wit...
by bidgeeman
Mon Aug 07, 2017 12:51 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Images in Livecode
Replies: 111
Views: 8926

Re: Images in Livecode

Hi hh.
Just had to go to the dictionary and look up compress. Thank you so much for your code and advice.

Regards
Bidge
by bidgeeman
Mon Aug 07, 2017 7:51 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Images in Livecode
Replies: 111
Views: 8926

Re: Images in Livecode

Ahhhh thanks SparkOut. That worked!!!

Cheers
Bidge
by bidgeeman
Mon Aug 07, 2017 4:56 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Images in Livecode
Replies: 111
Views: 8926

Re: Images in Livecode

Storing the images as binary data would be perfect and then converting them back to an image when needed except I can't get this to work. I get keep getting scrambled results in the image field?

Bidge
by bidgeeman
Mon Aug 07, 2017 1:28 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Images in Livecode
Replies: 111
Views: 8926

Re: Images in Livecode

Hi again. I just had a thought. Is there a simplified way to encrypt an image so the average person can't make a copy of it and use it? That would work in my case more so than water marks etc as I am giving people a load of images with the software. EDIT: I downloaded the sample encryption stack by ...
by bidgeeman
Mon Aug 07, 2017 12:17 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Images in Livecode
Replies: 111
Views: 8926

Re: Images in Livecode

They are all good examples but have to agree it spoils the user experience to a large degree. It would be great if you could disable the print screen function, but then I guess they just pull out there phone and 'Click" :)

Bidge

Go to advanced search