RSS/Atom feed Twitter
Site is read-only, email is disabled

BMP export gives Invalid Header

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

3 of 3 messages available
Toggle history

Please log in to manage your subscriptions.

BMP export gives Invalid Header PeterBez 16 Apr 16:12
  BMP export gives Invalid Header rich404 17 Apr 08:10
   BMP export gives Invalid Header PeterBez 19 Apr 07:00
2018-04-16 16:12:59 UTC (about 6 years ago)
postings
4

BMP export gives Invalid Header

I am trying to export a 1 bit bitmap image as a windows .BMP so it can be imported into CorelDraw for laser engraving. When I do the import to CorelDraw I get the error "Invalid Header" when I try to import into LaserScript 5.3 I just get the outline of the image.

I create the bitmap from the menu Image>Mode>indexed. Then select 1bit image with Floyd Steinberg dithering.

rich404
2018-04-17 08:10:04 UTC (about 6 years ago)

BMP export gives Invalid Header

I am trying to export a 1 bit bitmap image as a windows .BMP so it can be imported into CorelDraw for laser engraving. When I do the import to CorelDraw I get the error "Invalid Header" when I try to import into LaserScript 5.3 I just get the outline of the image.

I create the bitmap from the menu Image>Mode>indexed. Then select 1bit image with Floyd Steinberg dithering.

I could open a Gimp 1 bit bmp in an old Coreldraw but I believe you. I have come across similar errors for RGB bmp for tracing using Autotrace.

Have you tried using command line Imagemagick (IM)

magick image-in.png -colors 2 +dither -type bilevel image-out.bmp

Comparing files from the same source, IM file size is a few bytes larger and that is the header. Inspecting the properties, identical except for chromaticity - strange entries for red + green from Gimp.

Worth a try.

2018-04-19 07:00:02 UTC (about 6 years ago)
postings
4

BMP export gives Invalid Header

I could open a Gimp 1 bit bmp in an old Coreldraw but I believe you. I have come across similar errors for RGB bmp for tracing using Autotrace.

Have you tried using command line Imagemagick (IM)

magick image-in.png -colors 2 +dither -type bilevel image-out.bmp

Comparing files from the same source, IM file size is a few bytes larger and that is the header. Inspecting the properties, identical except for chromaticity - strange entries for red + green from Gimp.

Worth a try.

Thanks for the reply, after reading your post I wondered if I could do the same job with a .png. I processed the image the same way and exported it as a .png. It worked fine and after four years discovered that my laser software (Lasercut 5.3) will import transparent png files. Many thanks

Peter