Search found 110 matches

by johnmiller1950
Mon Dec 04, 2023 8:11 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Color to Black & White
Replies: 34
Views: 104862

Re: Color to Black & White

Cyril, thank you so much for the thorough explanation. It was very well done. I especially appreciated your explanation of the averaging technique of getting the grayscale value. - John
by johnmiller1950
Sun Dec 03, 2023 11:01 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Color to Black & White
Replies: 34
Views: 104862

Re: Color to Black & White

Paul, thanks for the link. I’m going to watch some of the other videos that are suggested. I’m trying to wrap my head around some of the algorithms in the code. Maybe I’ll catch on and maybe not, but figuring them out is a great mental workout.
by johnmiller1950
Sun Dec 03, 2023 10:50 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Color to Black & White
Replies: 34
Views: 104862

Re: Color to Black & White

After 73 years and a devastating head injury it may not have anything to do with attitude. Those days are long gone for me. Getting up each day and opening my computer to push into a new programming concept is about all the attitude I can muster these days. For me, finding something in the documenta...
by johnmiller1950
Sun Dec 03, 2023 1:12 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Color to Black & White
Replies: 34
Views: 104862

Re: Color to Black & White

I didn’t try it myself because I don’t understand the concept of palettes and how they function. I have often used the forums to see if someone knows how to do something that I don’t understand. Thanks for the work you did. I will keep playing around with it.
by johnmiller1950
Sat Dec 02, 2023 6:23 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Color to Black & White
Replies: 34
Views: 104862

Re: Color to Black & White

I notice that there is a pallet attribute in the export command. If I define the pallet with monochrome values, do you think that would work?
by johnmiller1950
Sat Dec 02, 2023 5:42 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Color to Black & White
Replies: 34
Views: 104862

Color to Black & White

Greetings All,

Is there a way to either . . .

. . . change an image from color to black & white within livCode or
. . . export a color image as a black and white image

Thanks in advance for any help you might offer.

Kind Regards To All,
John Miller
by johnmiller1950
Tue Jul 04, 2023 8:43 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: resizeStack Project
Replies: 8
Views: 4713

Re: resizeStack Project

What I really want is to either drag the side of the stack and have the height of the stack increase proportionally, or stage the bottom and have the width increase automatically.
by johnmiller1950
Tue Jul 04, 2023 8:40 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: resizeStack Project
Replies: 8
Views: 4713

Re: resizeStack Project

When I resize the stack, first I want the image to expand or shrink maintaining its original height to width ratio. Then I want to maintain ten pixels between the right side of the image and the right side of the stack. Also maintain a margin at the bottom equal to the height of my navigation button...
by johnmiller1950
Tue Jul 04, 2023 3:21 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: resizeStack Project
Replies: 8
Views: 4713

Re: resizeStack Project

Here is my code: on resizeStack put the topleft of cd image "Open Notebook.jpg" into tlXX put the width of this stack - item 1 of tlXX - 10 into wXX put the height of this stack - item 2 of tlXX - the height of group "Navigation Buttons" - 34 into hXX put 590/801 into w2hR -- ORIGINAL WIDTH TO HEIGH...
by johnmiller1950
Tue Jul 04, 2023 3:09 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: resizeStack Project
Replies: 8
Views: 4713

resizeStack Project

Greetings All, I have a stack that contains an image. When I resize the stack, I would like the image to grow or shrink while maintaining the original height to width ratio as well as a set margin at the left and bottom of the stack. If I drag the stack from the side, the image grows past the bottom...
by johnmiller1950
Sat Apr 29, 2023 1:48 pm
Forum: Talking LiveCode
Topic: Can't See A Visible Substack
Replies: 6
Views: 3291

Re: Can't See A Visible Substack

Ah a newbie mistake. I forgot that closing LiveCode also closes all the sub stacks and that you have to open them. Thanks, Richard. You've made my day.
by johnmiller1950
Sat Apr 29, 2023 1:02 pm
Forum: Talking LiveCode
Topic: Can't See A Visible Substack
Replies: 6
Views: 3291

Can't See A Visible Substack

Greetings All, I am using LiveCode 9.6.9 (rc2) on an intel MacBook Pro. My stack has a button that shows/hides a substack used for my app settings. When I first created the substack, the "show/hide" feature worked fine. I quit LiveCode and came back to my project the next day. No matter what I do, I...
by johnmiller1950
Tue Oct 20, 2020 10:00 pm
Forum: Multimedia
Topic: mergeav with live code 9.6.1
Replies: 2
Views: 4441

Re: mergeav with live code 9.6.1

Greetings All, Since there was no response from anyone to my last post, I moved on from mergav. Does anyone know if mergAV is supposed to work in Livecode 9.6, or has work on it been discontinued? Using "cameraControl" scripts, I have successfully . . . . . . created a controller that shows a previe...
by johnmiller1950
Fri Oct 09, 2020 3:36 am
Forum: Multimedia
Topic: mergeav with live code 9.6.1
Replies: 2
Views: 4441

mergeav with live code 9.6.1

Greetings All, I am writing a program using a Powerbook Pro (2019) with Mac OS 10.15.6. My program needs to access the camera to record a video. I have used the mergeav script sample mentioned in the other forums to turn the camera on and record a movie to a file. It all works great. Some of the for...
by johnmiller1950
Tue Dec 20, 2016 4:26 pm
Forum: Using Plugins for Customizing the LiveCode IDE
Topic: PDF file size
Replies: 0
Views: 6032

PDF file size

Hello LiveCode Coders, I am experimenting with different PDF options. The print to PDF function in LiveCode makes a simple two page file that is 2.5 MB. If I use the print command and save to PDF the file is 128 KB. When printed there is only a slight loss of clarity with the smaller file Is there a...

Go to advanced search