Search found 7 matches

by opilarium
2015-10-07T08:46:43-07:00
Forum: Bugs
Topic: Lost frames after clonning
Replies: 9
Views: 5723

Re: Lost frames after clonning

No. 6.8.3. Is that an issue?
by opilarium
2015-10-07T07:02:01-07:00
Forum: Bugs
Topic: Lost frames after clonning
Replies: 9
Views: 5723

Re: Lost frames after clonning

I mean img has properly working img.next image. But I only have one.
by opilarium
2015-10-06T10:59:40-07:00
Forum: Bugs
Topic: Lost frames after clonning
Replies: 9
Views: 5723

Re: Lost frames after clonning

Magick::Image is always a single image.
Well. Than how does it work with multipage tiff file?

Code: Select all

Magick::Blob blob( buffer.get(), file_size );
img.read( blob );
img has multiple pages.
by opilarium
2015-10-06T01:22:32-07:00
Forum: Bugs
Topic: Lost frames after clonning
Replies: 9
Views: 5723

Re: Lost frames after clonning

I serialize an image using write method.

// Write image to in-memory BLOB
void Magick::Image::write ( Blob *blob_ )
{
modifyImage();

As listed above write invokes modifyImage .
void Magick::Image::modifyImage( void )
{
...
replaceImage( CloneImage( image(),
0, // columns
0, // rows ...
by opilarium
2015-10-05T11:50:08-07:00
Forum: Bugs
Topic: Lost frames after clonning
Replies: 9
Views: 5723

Lost frames after clonning

I've found some wierd logic in clonning function of image:

Image *CloneImage(...)
{
...
if (detach == MagickFalse)
clone_image->blob=ReferenceBlob(image->blob);
else
{
clone_image->next=NewImageList();
clone_image->previous=NewImageList();
clone_image->blob=CloneBlobInfo((BlobInfo *) NULL ...
by opilarium
2014-09-23T10:09:16-07:00
Forum: Users
Topic: Wrong depth?
Replies: 2
Views: 2027

Re: Wrong depth?

identify works the same. Moreover wrong depth happens to be in other formats, like jpg or tiff. Is there any way to get correct depth?
by opilarium
2014-09-23T08:45:26-07:00
Forum: Users
Topic: Wrong depth?
Replies: 2
Views: 2027

Wrong depth?

Hi,

I've been practicing with Magick++ for some time. And can't understand one simple thing.
I want to get the depth (bits per pixel) of an image. In this simple case I expected a simple solution, like .depth() method of Image class.
But the thing is the method is wrong on some images.
For ...