themactep.com

A home of miscellaneous projects by Paul Philippov.

Notes

How to view an BGRA (RGBA) image

You need to know the image dimensions then you could use imagemagick:

display -size 200x42 -depth 8 logo.rgba

If you don’t know the dimensions, you can try to guess that from the file size using this formula:

width * height = file_size / 4