Jump to content

georgec0

Newbies
  • Posts

    4
  • Joined

  • Last visited

georgec0's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

1

Reputation

  1. Have you tried using SCURK? IIRC it can export some of the game graphics as common formats, so it may work for the ones you're interested in.
  2. Yes, in this case reversing just the colors from BGR to RGB does seem to work, but as I mentioned above it would be better to have a more thorough implementation like PNGDecrush's which can handle all cases by doing the following: The CgBI chunk is removed Chunk data is inflated and deflated again with zlib headers intact The resulting PNG is read into .NET's standard image manipulation classes where:The byte swap is reversed The premultiplied alpha is reversed
  3. On ge.tt? Strange, been using that file host for ages with no security warnings. Anyway, I'd love to share the file here directly except for the small matter (pun intended) of the 256KB attachment limit. Thanks, that looks very promising too although I haven't tested it personally. If it does what it promises though then it should be much better than a simple BGR to RGB operation that will leave other things like the precomputed alpha values etc. untouched. Better to have a custom plugin that does the job properly as the PNGDecrush page describes.
  4. The CgBI file format, thus named for its extra header, is Apple's extension to the PNG image format. More details about the format can be found here: http://iphonedevwiki.net/index.php/CgBI_file_format http://iphonedevelopment.blogspot.com/2008/10/iphone-optimized-pngs.html I would really appreciate it if Paint.NET can open such "optimized" PNGs, either by itself or with the help of a plugin, so that I can save them as standard PNGs instead. If it helps, here's some C code I found for a utility called pngdefry that does the job, but having the ability to open such images in Paint.NET directly would be simply great. (Technically speaking the images do open, but the colors are all messed up.) Thanks!
×
×
  • Create New...