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: 10415
Joined: Fri Feb 19, 2010 10:17 am

Re: Images going black

Post by richmond62 »

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: 10415
Joined: Fri Feb 19, 2010 10:17 am

More PNG probs.

Post by richmond62 »

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: 10103
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: More PNG probs.

Post by FourthWorld »

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: 10415
Joined: Fri Feb 19, 2010 10:17 am

Re: More PNG probs.

Post by richmond62 »

No: I ALWAYS import images. :cry:
jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2734
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: More PNG probs.

Post by jmburnod »

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: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: More PNG probs.

Post by Klaus »

FourthWorld wrote: Thu Mar 25, 2021 4:31 pmUTR 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: 10415
Joined: Fri Feb 19, 2010 10:17 am

Re: More PNG probs.

Post by richmond62 »

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: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: More PNG probs.

Post by Klaus »

richmond62 wrote: Thu Mar 25, 2021 5:56 pmWould 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: 10415
Joined: Fri Feb 19, 2010 10:17 am

Re: More PNG probs.

Post by richmond62 »

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: 10103
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: More PNG probs.

Post by FourthWorld »

Klaus wrote: Thu Mar 25, 2021 5:30 pm
FourthWorld wrote: Thu Mar 25, 2021 4:31 pmUTR 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: 10415
Joined: Fri Feb 19, 2010 10:17 am

Re: More PNG probs.

Post by richmond62 »

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: 2734
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: More PNG probs.

Post by jmburnod »

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: 10415
Joined: Fri Feb 19, 2010 10:17 am

Re: More PNG probs.

Post by richmond62 »

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: 10415
Joined: Fri Feb 19, 2010 10:17 am

Re: More PNG probs.

Post by richmond62 »

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: 870
Joined: Fri Feb 06, 2015 4:03 pm

Re: More PNG probs.

Post by LiveCode_Panos »

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