Search found 8 matches

by mch
2018-01-23T03:07:38-07:00
Forum: Users
Topic: Cropping 16 bit .BMP files and maintaining pixel size
Replies: 12
Views: 17030

Re: Cropping 16 bit .BMP files and maintaining pixel size

With -type palettealpha it produces an image with 32 bits per pixel, although it does have an alpha channel now.
by mch
2018-01-20T04:42:04-07:00
Forum: Users
Topic: Cropping 16 bit .BMP files and maintaining pixel size
Replies: 12
Views: 17030

Re: Cropping 16 bit .BMP files and maintaining pixel size

so it was there just not documented!!

I have tried this and it works great.

-define bmp:subtype=RGB565

Not satisfied with that I tried:

-define bmp:subtype=ARGB1555

And that did not seem to work, it produced a file with 24 bits per pixel, I thought that ARGB1555 should fit in 16 bits?
by mch
2018-01-19T04:01:13-07:00
Forum: Developers
Topic: Saving a BMP file with 16 bit pixel resolution (5:6:5)
Replies: 7
Views: 35172

Re: Saving a BMP file with 16 bit pixel resolution (5:6:5)

Sorry, Just re-read the original post and find it is supported, just wasnt documented.

I have tried this and it works.

>magick convert cam1.bmp -define bmp:subtype=RGB565 test.bmp

Great product!!
by mch
2018-01-18T04:19:46-07:00
Forum: Developers
Topic: Saving a BMP file with 16 bit pixel resolution (5:6:5)
Replies: 7
Views: 35172

Re: Saving a BMP file with 16 bit pixel resolution (5:6:5)

Sorry I had assumed it was 5:6:5 as i didnt know there was an option for 5:5:5. I did know it only used 16 bits to store each pixel rather than 24. The original post has been added to since i posted this question on the developers forum. So am I right in thinking that IM does not support the writing...
by mch
2018-01-10T03:05:49-07:00
Forum: Developers
Topic: Saving a BMP file with 16 bit pixel resolution (5:6:5)
Replies: 7
Views: 35172

Saving a BMP file with 16 bit pixel resolution (5:6:5)

Hi, I have been told that IM cannot save a BMP file with a 16 bit pixel resolution ie each pixel is represented by 2 bytes with RGB stored as 5:6:5. It can however read files with this format. See link to the thread discussing this. http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t...
by mch
2018-01-09T02:12:10-07:00
Forum: Users
Topic: Cropping 16 bit .BMP files and maintaining pixel size
Replies: 12
Views: 17030

Re: Cropping 16 bit .BMP files and maintaining pixel size

If it cant, is there an official way to suggest an enhancement to IM?
by mch
2018-01-08T12:11:37-07:00
Forum: Users
Topic: Cropping 16 bit .BMP files and maintaining pixel size
Replies: 12
Views: 17030

Re: Cropping 16 bit .BMP files and maintaining pixel size

That would be a real shame, It seems it can do everything else!!

It can read the BMP file in 5:6:5!!
by mch
2018-01-08T07:33:09-07:00
Forum: Users
Topic: Cropping 16 bit .BMP files and maintaining pixel size
Replies: 12
Views: 17030

Cropping 16 bit .BMP files and maintaining pixel size

IUsing IM 7.0.4-6 Q16 on Windows platform. I have a 16 bit BMP which is RGB 5:6:5 file and I want to crop an area from it, I use the command: magick convert -crop 72x66+16+62 "GPS ICONS Total FINAL_42.bmp" cam1.bmp which produces a file cam1.bmp file with the correct image in it, however i...