Search found 7 matches

by eadorean
2013-09-10T11:26:23-07:00
Forum: Magick++
Topic: How to write multi page image to multiple blobs?
Replies: 5
Views: 16534

Re: How to write multi page image to multiple blobs?

Thank you for taking the time to answer,

I tried:
vector<Image> imageListmpp;
m = imageListmpp.size();
vector<Blob> myblob;
for (i = 0; i<m; i++)
{
imageListmpp[i].write(&myblob[i]);
}

It compiles, but crashes on runtime. Unfortunately I do not have yet a debugger in place, so I do not ...
by eadorean
2013-09-09T11:56:18-07:00
Forum: Magick++
Topic: How to write multi page image to multiple blobs?
Replies: 5
Views: 16534

Re: How to write multi page image to multiple blobs?

Can you please post a sample code for that?

Thanks.
by eadorean
2013-09-09T11:33:54-07:00
Forum: Magick++
Topic: How to write multi page image to multiple blobs?
Replies: 5
Views: 16534

How to write multi page image to multiple blobs?

Hello,

How could I write a multi page Magick++ Image to multiple blobs (each page to separate blob)?

I have the multi page image in a vector:
vector<Image> imagevector;
Blob my_blob;
writeImages( imagevector.begin(), imagevector.end(), &my_blob );
and this writes all pages to 1 blob.

I want to ...
by eadorean
2013-09-08T08:46:48-07:00
Forum: Magick++
Topic: How to convert multi page Magick++ Image to QImage?
Replies: 0
Views: 8494

How to convert multi page Magick++ Image to QImage?

Hello,

I convert Magick++ single page Image to QT image (QPixmap, actually, but could be QImage as well) with:

Blob my_blob_1;
Image img1;
img1.magick("MNG"); // or PNG
img1.write(&my_blob_1);
const QByteArray imageData1((char*)(my_blob_1.data()),my_blob_1.length());
item1p.loadFromData ...
by eadorean
2013-07-05T22:23:23-07:00
Forum: Magick++
Topic: Magick++ STL CompositeImage
Replies: 0
Views: 8288

Magick++ STL CompositeImage

Hello,

I know that it is possible to composite single page image over each page of a multi-page image (PDF, Tiff, or whatever multipage format) with something like:


Image imgx;
imgx.read("somewhere/some-single-page.pdf");
list<Image> imageList2;
readImages( &imageList2, "somewhere/some-multi ...
by eadorean
2013-02-09T08:44:11-07:00
Forum: Magick++
Topic: convert TIF works, Magick++ read same TIF aborts
Replies: 2
Views: 9816

Re: convert TIF works, Magick++ read same TIF aborts

The warning does not bother me at all.
"Aborted" is the problem.

Thanks.
by eadorean
2013-02-08T14:06:00-07:00
Forum: Magick++
Topic: convert TIF works, Magick++ read same TIF aborts
Replies: 2
Views: 9816

convert TIF works, Magick++ read same TIF aborts

Hello,

I can use from command line the convert command to transform some.tif to anything else.
But when I use the read command in Magick++ program, it failes to read the same TIF file, with following message:

"terminate called after throwing an instance of 'Magick::WarningCoder'
what(): convert1 ...