简体   繁体   中英

Access violation when assigning a changed bitmap to a VCL style

Delphi XE7 Bitmap Style Designer: When I change an exported bitmap of a Delphi Visual Style (eg 'Auric') I get an access violation after importing the png back and try to assign colors. Any ideas?

You are probably importing image in following way:

Images -> style.png -> Delete -> Add -> Style Assign Colors -> AV

Instead do:

Images -> style.png -> Update -> Style Assign Colors

It seems that one have to edit the png image with Photoshop or Gimp which supports transparency. If I changed the colors in a simple bitmap editor like Paint, the above problems appears.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM