Search found 23 matches

by TorstenHolmer
Wed Jun 19, 2019 8:46 pm
Forum: Multimedia
Topic: Fast method for counting RGB values of an image
Replies: 18
Views: 2769

Re: Fast method for counting RGB values of an image

Hi, that's great to hear from you!

My images are PNG files. Can you help me to find the right javascripts and how to implement them?

The output should look like this:

124,22,37 12971
0,38,255 12649
182,255,0 10730
255,0,0 9264
0,0,0 7920
255,106,0 7008
255,133,133 2

Thanks in advance
Torsten
by TorstenHolmer
Wed Jun 19, 2019 7:40 pm
Forum: Multimedia
Topic: Fast method for counting RGB values of an image
Replies: 18
Views: 2769

Re: Fast method for counting RGB values of an image

This is the code from a stack named: rgbValuesOfImage from Bernd Niggemann (as can be seen in the comment section): # getting the unique RGB values of an image # putting them into an array to filter for unique RGB # taking the keys of the array which now contain the unique RGB values # the content o...
by TorstenHolmer
Wed Jun 19, 2019 5:43 pm
Forum: Multimedia
Topic: Fast method for counting RGB values of an image
Replies: 18
Views: 2769

Fast method for counting RGB values of an image

Hi, my task is simple, I want to count the amount of RGB values of the pixels in an image: how often 201,10,10 occurs in the image etc. I found a stack, which does it, but the method is extremely slow: an image with 500 x 500 pixels needs half an hour or longer. Is there a quicker method for countin...
by TorstenHolmer
Wed Sep 05, 2018 6:09 pm
Forum: CGIs and the Server
Topic: Can mergJson, Livecode builder be used with Livecode Server?
Replies: 1
Views: 2760

Re: Can mergJson, Livecode builder be used with Livecode Server?

if you need JSON encoding and decoding functions, I recommend EasyJson:

devhub. io/ repos/ luxlogica-easyjson

You have to put include "easyjson. lc" into your server-script or copy the content of the file into it.

Cheers,
Torsten
by TorstenHolmer
Sun Sep 02, 2018 10:30 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to group multiple objects by scripts?
Replies: 13
Views: 2480

Re: How to group multiple objects by scripts?

Hi, I had the same question and found a good hint in the famous book "Cooking with HyperCard" frm Dan Winkler and Scott Knaster, in which are recipies for doing the same thing to a group of objects. The key is "repeat with i = 1 to the number of buttons" where you don't have to specify each button i...
by TorstenHolmer
Thu Mar 01, 2018 3:47 pm
Forum: Feature Proposals
Topic: Simpler Copy to clipboard command
Replies: 1
Views: 873

Simpler Copy to clipboard command

Hi, I want to make a recommendation: I just wanted to put the text of a variable into the clipboard and wondered what is the reason, that: copy tText into clipboard does not work. The "correct" way: set the clipboardData["text"] to tText is IMHO a harsh distraction from the english language style Li...
by TorstenHolmer
Sat Mar 08, 2014 11:26 pm
Forum: LiveCode University
Topic: Reset Password?
Replies: 2
Views: 2322

Reset Password?

Hi,

I registered for LCU and it worked fine. Now I restartet LCU and it didn' take my password. Is there a way to reset the password?

Thanks,
Torsten
by TorstenHolmer
Mon Oct 28, 2013 1:28 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Where is the User Guide Pdf?
Replies: 4
Views: 1471

Where is the User Guide Pdf?

Hi there,

I am just looking for the pdf version of the User Guide and could not find it. The URL downloads. runrev. com/ userguide / userguide.pdf is not working.

Thanks in advance,
Torsten

Go to advanced search