Search found 6 matches

by nm-osm
2017-01-11T01:51:42-07:00
Forum: Magick++
Topic: Convert PNG to 8-Bit Palette BMP
Replies: 10
Views: 34536

Re: Convert PNG to 8-Bit Palette BMP

cuongvn08 wrote: 2017-01-10T19:38:53-07:00 So what is the library you are using now?
Sorry, no library. We convert the pictures with an external script before the c++ program has to handle them.
by nm-osm
2015-05-12T03:35:43-07:00
Forum: Magick++
Topic: Convert PNG to 8-Bit Palette BMP
Replies: 10
Views: 34536

Re: Convert PNG to 8-Bit Palette BMP

We have ceased to use IM for this -> problem solved.
by nm-osm
2015-04-29T09:03:49-07:00
Forum: Magick++
Topic: Convert PNG to 8-Bit Palette BMP
Replies: 10
Views: 34536

Re: Convert PNG to 8-Bit Palette BMP

As I wrote it's works for me on the command-line too. The problem is with the C++-API.
by nm-osm
2015-04-29T05:26:32-07:00
Forum: Magick++
Topic: Convert PNG to 8-Bit Palette BMP
Replies: 10
Views: 34536

Re: Convert PNG to 8-Bit Palette BMP

I have put the pictures on flickr:

imagemagick-input.png = https://www.flickr.com/photos/132066708 ... 310395011/
imagemagick-output.bmp = https://www.flickr.com/photos/132066708 ... 103444757/

Sorry about the delay but I was on vacation the last days.
by nm-osm
2015-04-22T08:55:31-07:00
Forum: Magick++
Topic: Convert PNG to 8-Bit Palette BMP
Replies: 10
Views: 34536

Re: Convert PNG to 8-Bit Palette BMP

The version is ImageMagick-6.9.1-1, platform is SUSE Linux Enterprise Server 11.

How do I post an image? I have seen images posted by others but not found a way to do it myself :-(. There is no button to add an attachment.
by nm-osm
2015-04-21T03:37:33-07:00
Forum: Magick++
Topic: Convert PNG to 8-Bit Palette BMP
Replies: 10
Views: 34536

Convert PNG to 8-Bit Palette BMP

The PNG has 31 colors as reported from totalColors(). My code is: // img has a type with const char *data() and size_t length() Magick::Blob inblob( img.data(), img.length() ); Magick::Image image; image.read( inblob ); image.compressType( MagickCore::NoCompression ); image.type( MagickCore::Palette...