Author Topic: does anyone know what this means?  (Read 7462 times)

0 Members and 1 Guest are viewing this topic.

ponderitus
  • Jr. Member
  • **
  • Posts: 75
    • View Profile
does anyone know what this means?
« on: March 17, 2020, 05:45:06 PM »
When i close the game on certain maps, this pops up...

Code: [Select]
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: cHRM chunk does not match sRGB

does anyone know what it means?

froggy77

  • Full Member
  • ***
  • Posts: 151
    • View Profile
Re: does anyone know what this means?
« Reply #1 on: March 18, 2020, 06:44:15 PM »
I've got CRC errors in a lot of png files of my project; I did not know your error but it seems similar.
I often use Gimp and still don't know what options can cause this. I thought it was Gimp that was causing this problem, but I'm pretty sure I would do the same CRC error with images created in mspaint.
imagemagick may help you to fix this problem. Just run imagemagick, open the png image and save it.
The other problem when they are a lot of images in a project is to identify what images have errors.
That's why I'm doing a report in html generated by a Powershell script (which needs imagemagick).

I don't know if you share your project online (for example with GitHub or GitLab), but it would be helpful for me to test my script with the errors you are having.
« Last Edit: March 18, 2020, 06:55:12 PM by froggy77 »

ponderitus
  • Jr. Member
  • **
  • Posts: 75
    • View Profile
Re: does anyone know what this means?
« Reply #2 on: March 18, 2020, 09:07:15 PM »
sweet man cheers for the info, I wasn't able to download imagemagick i think the site is down so i tried just making a new blank sheet and copying the sprites over and overwriting it...it worked. was a png i had as an overlay the "map name" png i have pop up on start. which is why it wasnt happening on any of the other maps with the same tileset ect.

my project isnt online anywhere atm ive been looking into how to do it, made a github account today so it might be up soon

froggy77

  • Full Member
  • ***
  • Posts: 151
    • View Profile
Re: does anyone know what this means?
« Reply #3 on: March 23, 2020, 07:07:07 PM »
I created a PowerShell script that generates a report in html to detect errors (eg CRC) in .png and .bmp images.
It also makes it possible to get the color palette of the images in a folder and its sub-folders.
This script needs the ImageMagick tool.
I would like to know if some can test it and give me feedback.


https://github.com/hydralerna/ZL-project/blob/master/tools/ImageMagick_report/ImageMagick_Report.ps1
« Last Edit: March 30, 2020, 12:58:38 AM by froggy77 »

ponderitus
  • Jr. Member
  • **
  • Posts: 75
    • View Profile
Re: does anyone know what this means?
« Reply #4 on: March 29, 2020, 07:21:13 PM »
would't know how to test it mate, the link above gives a 403 Forbidden error, I ended up just opening all png's with ImageMagick and saving them.....didn't take toooooooo long. only a few thousand files lmao.

if you tell me how to use it ill test it for you

froggy77

  • Full Member
  • ***
  • Posts: 151
    • View Profile
Re: does anyone know what this means?
« Reply #5 on: March 30, 2020, 01:01:59 AM »
Thanks.  I corrected the link.
Edit : new version of the script.
« Last Edit: April 24, 2020, 05:15:00 PM by froggy77 »

tauntsullen
  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: does anyone know what this means?
« Reply #6 on: September 09, 2022, 10:43:03 AM »
I couldn't download imagemagick since the site was down, so I tried generating a fresh blank sheet and copying the sprites over and overwriting them...it worked. was a png I used as an overlay for the "map name" png that appears at the start. That's why it didn't happen on any of the other maps using the same tileset, etc.

ameliacarey
  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: does anyone know what this means?
« Reply #7 on: December 23, 2022, 09:04:32 AM »
Thanks for sharing this article with us!

drift hunters