Convert attachment to BLOB format?

Is it possible to convert an attachment (.jpg) to a BLOB format?

Thanks in advance for any insight.

~