Greetings,
A final note on this matter for anyone who may be interested.
Look at the color values in the images of my cats. In the correct example, all of the RGB color values are combinations of 0, 51, 102, 153, 204, and 255. That is posterization.
Regards,
Luisa Klose
Search found 48 matches
- Fri Sep 16, 2011 12:05 am
- Forum: Converting to LiveCode
- Topic: Lingo, LiveCode, and Differing Results
- Replies: 22
- Views: 29159
- Thu Sep 15, 2011 4:14 pm
- Forum: Converting to LiveCode
- Topic: Lingo, LiveCode, and Differing Results
- Replies: 22
- Views: 29159
Re: Lingo, LiveCode, and Differing Results
Thank you, Bernd, for being candid, and not insulting my intelligence.
As I said, I will keep an eye on LiveCode.
And thank you for all your help over the last couple of weeks. I learned a lot.
Best wishes,
Luisa Klose
As I said, I will keep an eye on LiveCode.
And thank you for all your help over the last couple of weeks. I learned a lot.
Best wishes,
Luisa Klose
- Thu Sep 15, 2011 3:31 pm
- Forum: Converting to LiveCode
- Topic: Lingo, LiveCode, and Differing Results
- Replies: 22
- Views: 29159
Re: Lingo, LiveCode, and Differing Results
Ah, yes, it's the user's fault for not using it the way it was intended. :roll: So, posterizing an image is outside of LiveCode's "design envelope", but blurring an image isn't. :lol: Where does the documentation "indicate" that imageData will deliver uncertain results, (presumably with "display pro...
- Thu Sep 15, 2011 2:42 pm
- Forum: Converting to LiveCode
- Topic: Lingo, LiveCode, and Differing Results
- Replies: 22
- Views: 29159
Re: Lingo, LiveCode, and Differing Results
Thank you for your assistance, Walt. I'm not going to spend another second trying to figure out where I have to put the crutches and why. Between versions 8 and 11.5, Director added a few new functions that I didn't know about. I'm eager to experiment with them. I will keep an eye on LiveCode, and I...
- Wed Sep 14, 2011 11:57 pm
- Forum: Converting to LiveCode
- Topic: Lingo, LiveCode, and Differing Results
- Replies: 22
- Views: 29159
Re: Lingo, LiveCode, and Differing Results
Bernd,
It's still off. Thanks.
Luisa
It's still off. Thanks.
Luisa
- Wed Sep 14, 2011 11:39 pm
- Forum: Converting to LiveCode
- Topic: Lingo, LiveCode, and Differing Results
- Replies: 22
- Views: 29159
Re: Lingo, LiveCode, and Differing Results
Walt, I put each result on a separate layer in Photoshop, and check them visually by turning the layers on and off. When it appears that there is no change between images, I sample several areas in each image to make sure. The results produced by the statRound approach are way off. If you want to wr...
- Wed Sep 14, 2011 5:21 pm
- Forum: Converting to LiveCode
- Topic: Lingo, LiveCode, and Differing Results
- Replies: 22
- Views: 29159
Re: Lingo, LiveCode, and Differing Results
Thanks, Walt, for your help. Using statRound makes it worse. The numbers are supposed to be truncated. Both LiveCode and Lingo are being asked to perform the same calculations. For some reason, LiveCode returns a result that can be verified to be incorrect. Unless Photoshop and Lingo are returning i...
- Wed Sep 14, 2011 3:30 pm
- Forum: Converting to LiveCode
- Topic: Lingo, LiveCode, and Differing Results
- Replies: 22
- Views: 29159
Re: Lingo, LiveCode, and Differing Results
One special request, please, Walt & Bernd. Show me where, in my code, I need to "manually assist" LiveCode. Without rewriting the handler, please. It will be easier for me to understand what I have to do. My LiveCode airbrush has some color issues and now I'm wondering if I have to manually assist t...
- Wed Sep 14, 2011 2:47 pm
- Forum: Converting to LiveCode
- Topic: Lingo, LiveCode, and Differing Results
- Replies: 22
- Views: 29159
Re: Lingo, LiveCode, and Differing Results
Thanks for responding, guys, and thank you for your effort, Walt. Here is the result I get from Photoshop and from Lingo: sample_ps_lingo.gif And here is the result I get from LiveCode: sample_livecode.gif Both images were done with a posterization value of 6. The stack should be attached as well. W...
- Wed Sep 14, 2011 3:24 am
- Forum: Converting to LiveCode
- Topic: Lingo, LiveCode, and Differing Results
- Replies: 22
- Views: 29159
Re: Lingo, LiveCode, and Differing Results
Walt, It's close, visually, but apparently some of the values are being calculated differently from what I expect, and it's adding an extra level at some posterization values. The algorithm calls for rounding the numbers down, so in the original script I had to create a couple of variables to compar...
- Wed Sep 14, 2011 12:12 am
- Forum: Converting to LiveCode
- Topic: Lingo, LiveCode, and Differing Results
- Replies: 22
- Views: 29159
Lingo, LiveCode, and Differing Results
Hello, My handler doesn't work properly in LiveCode, so here I am in search of an answer that will save me from having to spend any more of my time looking for something that may not even be there. The handler posterizes an image with results identical to Photoshop's posterize algorithm. Identical, ...
- Mon Sep 12, 2011 3:40 am
- Forum: Feature Proposals
- Topic: Imaging Functions
- Replies: 38
- Views: 23132
Re: Imaging Functions
Heya Folks, I improved the performance of my Alpha Paint stack to where it is actually usable, (on this computer), and I added a variant that paints with the colors of the brush instead of a single RGB color like before. My formula for averaging & overlaying color needs improvement, and there are ot...
- Sat Sep 10, 2011 1:49 pm
- Forum: Feature Proposals
- Topic: Imaging Functions
- Replies: 38
- Views: 23132
Re: Imaging Functions
Heya Bernd, Yes, I was thinking about your "Simple Paint" stack when I commented in the code that there are more efficient painting algorithms. I will have to experiment more before I make a decision regarding the utility of my algorithm. It may end up being useful if its qualities can't be reproduc...
- Sat Sep 10, 2011 12:22 pm
- Forum: Feature Proposals
- Topic: Imaging Functions
- Replies: 38
- Views: 23132
Re: Imaging Functions
Hi Bernd, On this computer, the screen updates the same with or without the "wait" line. I wonder if that has to do with the OS... I noticed a little problem with my brush at very low opacity values. It looks like I'm getting some negative numbers that are turning 0s into 255s. I hope you're having ...
- Sat Sep 10, 2011 4:11 am
- Forum: Feature Proposals
- Topic: Imaging Functions
- Replies: 38
- Views: 23132
Re: Imaging Functions
Friends, After my previous post, I went back to finish the stack and ended up finding the caveats instead. I had not tested it near the edges. The right edge wrapped to the left edge and vice versa. The top edge wrapped to the bottom edge, inverting the color in the process. Going near the bottom ed...