Search found 7 matches
- 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?
- 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.
- 2015-10-06T10:59:40-07:00
- Forum: Bugs
- Topic: Lost frames after clonning
- Replies: 9
- Views: 5723
Re: Lost frames after clonning
Well. Than how does it work with multipage tiff file?Magick::Image is always a single image.
Code: Select all
Magick::Blob blob( buffer.get(), file_size );
img.read( blob );
- 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 ...
// 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 ...
- 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 ...
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 ...
- 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?
- 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 ...
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 ...