5 Messages
•
110 Points
Mon, Nov 12, 2018 5:24 PM
Photoshop: Error in ImagesSize parameter with export to BMP
There are 3 types of structures on a BMP file. These are "BITMAPINFOHEADER", "BITMAPV4HEADER" and "BITMAPV5HEADER". M
Photoshop's file is based on "BITMAPINFOHEADER", but there is an error in the parameter of "ImageSize". The "ImageSize" must be a multiple of 4, but the parameter in the Photoshop is "0x0802." This is a bug Adobe should fix.
Photoshop's file is based on "BITMAPINFOHEADER", but there is an error in the parameter of "ImageSize". The "ImageSize" must be a multiple of 4, but the parameter in the Photoshop is "0x0802." This is a bug Adobe should fix.
Problems
•
Updated
2 years ago
5
3
Helpful Widget
How can we improve?
Tags
No tags available
Responses
JeffreyTranberry
Adobe Administrator
•
15.8K Messages
•
295K Points
2 years ago
Sr. Product Manager, Adobe Digital Imaging
1
0
JeffreyTranberry
Adobe Administrator
•
15.8K Messages
•
295K Points
2 years ago
Sr. Product Manager, Adobe Digital Imaging
3
0
kevino_z
5 Messages
•
110 Points
2 years ago
Tthis is an example of a BMP file from photoshop. It has a completely different header. It is not a type of "BITMAPV4HEADER", but a "BITMAPINFOHEADER". My mistake on uploading the wrong file the first attempt
Here is a proper one:
https://img42.com/bi8Ee+
my friend who is helping me said the photoshop BMPs actually have BITMAPINFOHEADER with header size of 40 bytes, not the 108.
Also, He made a 235x64 pixels bitmap file. Checking the header info and the image data using binary editor, the result was the header size is 40 bytes, and the size of image data is 2050 instead of 2048.
0
0