A MIME attachment with the content type "application/octet-stream" is a binary file. Typically, it will be an application or a document that must be opened. Jan 05, · You can also double check that the MIME is appropriate before passing to Jimp by checking schizoblog.nets['content-type'] (will not be octet-stream but rather whatever the true type is) but that might be overkill since Jimp will verify when reading the Buffer.. I think that in the future, Jimp should be made able to handle this case naturally without having to go outside of it. Jan 30, · This might be of interest to many in this forum who want to do image uploads. I am working on a site where users can upload a profile image and I am essentially using Larrys image upload code as written. The site is responsive and has to allow image uploads from smart phones as .