Search found 4 matches

by midas
2017-01-11T05:34:32-07:00
Forum: Magick++
Topic: Convert RGBA to bmp format
Replies: 7
Views: 18324

Re: Convert RGBA to bmp format

I would be writing it in C++ so let me know what functions should I call? I searched on the net and found below snippet: Magick::Blob blob(data, length); Magick::Image image; image.size("640x480") image.magick("RGBA"); image.read(blob); image.write("file.bmp"); Is this ...
by midas
2017-01-11T04:37:12-07:00
Forum: Magick++
Topic: Convert RGBA to bmp format
Replies: 7
Views: 18324

Re: Convert RGBA to bmp format

I use below platform toolset:
Visual Studio 2012 (v110)

Also, can you tell me what commands should I use to convert rgba files to bmp?
by midas
2017-01-11T03:42:23-07:00
Forum: Magick++
Topic: Convert RGBA to bmp format
Replies: 7
Views: 18324

Re: Convert RGBA to bmp format

Please find below my code: #include <Magick++.h> #include <iostream> #include <fstream> #include <stdio.h> #include "stdafx.h" using namespace std; using namespace Magick; //#pragma warning(disable : 4996) int main(int argc,char **argv) { InitializeMagick(*argv); return 0; } When I build I...
by midas
2017-01-11T03:22:39-07:00
Forum: Magick++
Topic: Convert RGBA to bmp format
Replies: 7
Views: 18324

Convert RGBA to bmp format

Can I get help in converting RGBA image to Bitmap?