Image dump / Text-to-bin utility
1. Is there any command-line utility which can take an image file in a well-known format (eg gif, png, bmp), print the dimensions/info and dump the raw bytes and palette?
2. Is there a utility which can take a text string and output to stdout the binary representation of the string (I dont mean 0s and 1s here, I mean the actual byte encoding) in a specified endian order?