More PNG probs.

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9287
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: Images going black

Post by richmond62 » Tue Nov 24, 2020 12:13 pm

Screenshot 2020-11-24 at 12.59.54.png
-
No improvement with 9.6.2 RC 1
-
LC_cola.png

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9287
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

More PNG probs.

Post by richmond62 » Thu Mar 25, 2021 3:31 pm

9.6.3 RC 3 IDE:
-
SShot 2021-03-25 at 14.56.55.png
-
Standalone:
-
SShot 2021-03-25 at 14.56.33.png
-
i.e. More of the same.

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9802
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: More PNG probs.

Post by FourthWorld » Thu Mar 25, 2021 4:31 pm

UTR here. Was that image imported or linked? If the latter, I'd wager a path difference accounts for what you're seeing.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9287
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: More PNG probs.

Post by richmond62 » Thu Mar 25, 2021 5:10 pm

No: I ALWAYS import images. :cry:

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2718
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

Re: More PNG probs.

Post by jmburnod » Thu Mar 25, 2021 5:23 pm

Hi Richmond,
9.6.3 RC 3 IDE:
Last version is LiveCode 9.6.2 rc 3, not 9.6.3 rc 3 for me
When do you import image ? Before or after building standalone
Kind regards
Jean-Marc
https://alternatic.ch

Klaus
Posts: 13806
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: More PNG probs.

Post by Klaus » Thu Mar 25, 2021 5:30 pm

FourthWorld wrote:
Thu Mar 25, 2021 4:31 pm
UTR here.
What does UTR mean?

@Richmond
Is this problem different than this one?
viewtopic.php?f=5&t=34892&start=15

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9287
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: More PNG probs.

Post by richmond62 » Thu Mar 25, 2021 5:56 pm

9.6.3 RC 3 IDE
Sorry: in such a filthy temper just before a class with tinies I got the number wrong. Indeed: 9.6.2 RC 3
@Richmond
Is this problem different than this one?
viewtopic.php?f=5&t=34892&start=15
No, it isn't, but in such a filthy temper just before a class with tinies I couldn't locate that other thread.

Would be most grateful if someone could merge the two threads. 8)

Klaus
Posts: 13806
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: More PNG probs.

Post by Klaus » Thu Mar 25, 2021 6:00 pm

richmond62 wrote:
Thu Mar 25, 2021 5:56 pm
Would be most grateful if someone could merge the two threads. 8)
Done!

Maybe you can post the image that went black in your standalone?

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9287
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: More PNG probs.

Post by richmond62 » Thu Mar 25, 2021 6:07 pm

Done!
Thank you very much. 8)

ALL the images except for the one on the first card went black.
-
PB2.png

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9802
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: More PNG probs.

Post by FourthWorld » Thu Mar 25, 2021 6:16 pm

Klaus wrote:
Thu Mar 25, 2021 5:30 pm
FourthWorld wrote:
Thu Mar 25, 2021 4:31 pm
UTR here.
What does UTR mean?
Sorry, been processing bug reports. UTR = Unable To Reproduce
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9287
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: More PNG probs.

Post by richmond62 » Thu Mar 25, 2021 6:49 pm

Here's the whole stack: https://www.dropbox.com/s/5j498gbvuuhyn ... e.zip?dl=0
UTR = Unable To Reproduce
I thought that was called a vasectomy.
Last edited by richmond62 on Thu Mar 25, 2021 7:03 pm, edited 1 time in total.

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2718
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

Re: More PNG probs.

Post by jmburnod » Thu Mar 25, 2021 6:57 pm

Thanks Richmond to conforte me for external files use :D
Same issue with OSX 10.14.6 LC 9.6.1
No image in cd 2 of standalone
https://alternatic.ch

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9287
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: More PNG probs.

Post by richmond62 » Mon Apr 26, 2021 1:05 pm

SShot 2021-04-26 at 14.58.34.png
-
Stack in IDE on left, standalone on right

[mind you "standalone" is a misnomer in this case: mair like 'collapse in the sheuch as isnae mensfu']

Still a load of *(&^%$#@ with LC 9.6.2 RC 5
-
tried a build with LC 8.2.0 DP 2 and got this:
-
SShot 2021-04-26 at 15.00.34.png
-
So part of the problem may lie with MacOS 11.4 beta 1 . . . but as I cannot see Apple pulling their finger
out for LiveCode . . .

This is becoming a big pain in the bum as most of my current work depends on PNG images.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9287
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: More PNG probs.

Post by richmond62 » Wed May 05, 2021 12:15 pm

My 2021 Summer school in LiveCode programming will use LiveCode 9.5.1
as my animation and game development sections rely heavily on image
integrity . . .

. . . why are we worried about "improvements" to LC
when new versions seem to go backwards rather than forwards?

LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 818
Joined: Fri Feb 06, 2015 4:03 pm

Re: More PNG probs.

Post by LiveCode_Panos » Tue May 18, 2021 10:18 am

Hello all,

There is a (not so popular) property, called

Code: Select all

paintcompression
When an image is changed with a paint tool, it is recompressed the next time you leave the card it's on. The format in which it is compressed is set by the global

Code: Select all

paintCompression
property.

By default, the global

Code: Select all

paintCompression
property is set to "rle" in standalones and "png" in the development environment.

@Richmond
I believe that if you

Code: Select all

set the paintcompression to "png"
in the preopenstack handler, then the issue will be fixed in the standalone.

See the dictionary entry for more details.

Hope this helps.

Kind regards,
Panos
--

Post Reply

Return to “Talking LiveCode”