Originally posted by chaoticmark32:and what is that method? Im using photoshop and have followed the steps for a transparent background (i even get the checkered background that shows transparency). (The funny thing is I originally grabbed ImageMagick specifically to handle ppm files. I would assume that in the case of an 8-bit alpha channel, the resulting alpha channel in the bmp file would also be 8-bit. With the test file I used, this actually produced a 1-bit alpha channel, which was handled by the CG edit tool correctly (so that assumption was wrong on my part), however that was due to the alpha channel in the source PNG file also being 1-bit. The convert command expects an image source (in this case, the png file we're using as input), some operators (in our case, the "force alpha on BMP V3 export" operator in the preceeding paragraph), and an output (in our case, the bitmap file, prefixed with "bmp3:" to tell ImageMagick to export as BMP V3). So we have to define bmp3:alpha=true in order to tell ImageMagick that yes, you do in fact want the alpha channel preserved. ImageMagick is capable of writing these files, but by default will strip the alpha channel when it does so. Magick convert img.png -define bmp3:alpha=true bmp3:img.bmp(replace the "img.bmp" part with whatever the filename you need the resulting filename to be)Įxplanation: the officer CG edit tool EXPECTS a BMP V3 file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |