Questions You Were To Afraid To Ask!
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Questions You Were To Afraid To Ask!
Ever have one of those questions you wanted to ask, but were too afraid to ask?
Here's one I've been keeping to myself for some time now because I was afraid that it was something I was overlooking. But a year now later, and I still can't find an answer to this.
Why is it when I select an image as the filler background on objects, it's never tiled using the entire image, but something like only a 3x3 or so square of the image I selected? This even includes images included with rev, such as the metacard compatible patterns.
I was recently working on something for someone and ran into this again, and yet again was completely baffled as to what the problem was. I had a 100x100 square image, I waned to set it as the tiled background of my stack, but only got like a small portion of it. I again tried with a 10x10, and still, same problem.
Am I missing something?? is there an undocumented property that I need to set to get the entire tile to be used?
I ended up manually creating images to tile over the stack.
Thanks in advance,
~Garrett
P.S. Anyone else got a question they were too afraid to ask? If so, might as well follow along here and post it with mine here in this thread.
Here's one I've been keeping to myself for some time now because I was afraid that it was something I was overlooking. But a year now later, and I still can't find an answer to this.
Why is it when I select an image as the filler background on objects, it's never tiled using the entire image, but something like only a 3x3 or so square of the image I selected? This even includes images included with rev, such as the metacard compatible patterns.
I was recently working on something for someone and ran into this again, and yet again was completely baffled as to what the problem was. I had a 100x100 square image, I waned to set it as the tiled background of my stack, but only got like a small portion of it. I again tried with a 10x10, and still, same problem.
Am I missing something?? is there an undocumented property that I need to set to get the entire tile to be used?
I ended up manually creating images to tile over the stack.
Thanks in advance,
~Garrett
P.S. Anyone else got a question they were too afraid to ask? If so, might as well follow along here and post it with mine here in this thread.
-
- VIP Livecode Opensource Backer
- Posts: 1005
- Joined: Sat Apr 08, 2006 3:06 pm
- Location: Overland Park, Kansas
- Contact:
I just did the following test:
1) Created a new stack.
2) Imported a PNG image (291 x 75)
3) Set the backgroundPattern to the id of the image.
The image tiled nicely across the entire stack background. This is in version 2.8.1 of Revolution. I believe that version prior to 2.7 had limits on the size of graphics that tiled. This limitation was removed in 2.7. What version of Rev are you using? Does the above recipe work?[/img]
1) Created a new stack.
2) Imported a PNG image (291 x 75)
3) Set the backgroundPattern to the id of the image.
The image tiled nicely across the entire stack background. This is in version 2.8.1 of Revolution. I believe that version prior to 2.7 had limits on the size of graphics that tiled. This limitation was removed in 2.7. What version of Rev are you using? Does the above recipe work?[/img]
Trevor DeVore
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder
I tried both of the above and still does not tile correctly for me. Here's a link to my test stack for this:
http://www.paraboliclogic.com/misc/testtileback.rev
I'm using Rev 2.8.x on Windows ME, but also encountered this on XP.
I also tried setting the background via the properties window, and then again via the stack script in onPreOpenStack, and both have the same result for me.
Does it have to be a specific file format such as PNG?
Thanks again,
~Garrett
http://www.paraboliclogic.com/misc/testtileback.rev
I'm using Rev 2.8.x on Windows ME, but also encountered this on XP.
I also tried setting the background via the properties window, and then again via the stack script in onPreOpenStack, and both have the same result for me.
Does it have to be a specific file format such as PNG?
Thanks again,
~Garrett
-
- VIP Livecode Opensource Backer
- Posts: 1005
- Joined: Sat Apr 08, 2006 3:06 pm
- Location: Overland Park, Kansas
- Contact:
I loaded your example stack on Windows XP (native) and 2000 (under Parallels) and it looked right to me. Here is a screenshot of your stack in Windows 2000 with the original image shown on top of it:
What are you seeing?
What are you seeing?
Trevor DeVore
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder
ScreenSteps - https://www.screensteps.com
LiveCode Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode
LiveCode Builder Repos - https://github.com/search?q=user%3Atrevordevore+topic:livecode-builder
Hi,
The picture is indexed and should be RGB. This may be one reason why it doesn't display correctly.
Best,
Mark
The picture is indexed and should be RGB. This may be one reason why it doesn't display correctly.
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Garrett,
Please, find another machine to test on, e.g. one with Win XP installed, and ask a Win 2000 user to test your stack. If the same problem occurs on other Win 2000 machines, it might be a Rev bug.
Best,
Mark
Please, find another machine to test on, e.g. one with Win XP installed, and ask a Win 2000 user to test your stack. If the same problem occurs on other Win 2000 machines, it might be a Rev bug.
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode