Migrating an app from D7 to DX10.2, we've got a bunch of instances where the app is loading up GIF images to buttons and panels and whatnot in the main form's OnCreate method, and they're all throwing an exception "Invalid GIF signature". From what I can tell this is coming from a standard VCL library, VCL.Images. Has anybody ever run into this and willing to share how they resolved it?

Comments

  1. SVG is a vector format and not an obvious replacement for GIF which is raster

    ReplyDelete
  2. Attila Kovacs Cool! I make all my graphics/icons as SVGs now so it would be nice to just use them in my apps directly.

    ReplyDelete
  3. +schlomo abuisak thanks! That did the trick.

    David Heffernan That's a Good Idea to switch to png, but I'm not doing any content refactoring in this pass. Maybe later.

    ReplyDelete

Post a Comment