Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Saving fail AND/OR "iCCP: known incorrect sRGB profile" error

Hello Twiners,
I'm totally new to Twine (started yesterday, and with no CSS/html knowledge either).
My mac laptop just crashed, and the game I'd spent the last 8 hours building had totally disappeared. The .tws file was there, 5.4MB, but it opened as though it were a totally blank new file. OH NO!

I finally recovered most of it by importing the .html version, which seems to be fine.

I had been saving regularly (using the keyboard shortcut), and am surprised / extremely worried. I'd like to use Twine for a big project, and can't handle losing several hours' work on a regular basis! (Who can?)

So my questions: I'm using a lot of PNG files, and for some of them I get the error
"iCCP: known incorrect sRGB profile"

a) What is this error, and how do I deal with it?
b) Any chance this caused the massive save fail?

Thanks, and very excited about joining the Twine community,

Eiei

Comments

  • One reason your TWS file may of "appeared" to be empty is that it was unable to draw one of your PNG images due to the error you received, so it stopped drawing the passage map leaving you with an empty Twine story screen.

    The error "iCCP: known incorrect sRGB profile" relates to the ICC profile information stored within the PNG file.

    The library Twine is using to display the image does not like it for some reason and fails, so the solution is to remove the offending ICC Profile from the PNG file.

    How do I do this I hear you ask, well that depends on the image editor your using and your OS.
    ImageMagic has a "convert in.png out.png" option, there is also a tool named Pngcrush that you may be able to use, but basically your looking for an option that optimizes the PNG file.
  • :D Thanks Mr. Greyelf!

    In the end not feeling confident messing about with command line apps I used GIMP to fix the three PNGs that Photoshop fucked up somehow. (Resaved them as GIFs, then used those GIF files to resave as PNGs again.)

    I've also noticed that the ?temporary? .html files disappear when you close Twine. The fact mine was still there is probably a result of the laptop restart crash with the program still open?

    Anyway, thanks again. Hopefully this is problem solved.

    ei
Sign In or Register to comment.