Search found 59 matches

by ArunKumar
2020-05-12T07:19:53-07:00
Forum: MagickWand
Topic: Resize the GIF Images
Replies: 2
Views: 930

Re: Resize the GIF Images

convert originalImage.gif -coalesce -resize 1600x1600! resizedImage.gif

what are the MagickWand method for above command?
by ArunKumar
2020-05-12T04:05:30-07:00
Forum: MagickWand
Topic: Resize the GIF Images
Replies: 2
Views: 930

Resize the GIF Images

I'm resizing the GIF image .But the content is resized Image is different from Original Image Command used to resize the GIF Images: convert originalImage.gif -resize 1600x1600 resizedImage.gif Why There is difference between the original Image & resized Image.? How to solve this issue ? My sample O...
by ArunKumar
2020-05-07T21:11:16-07:00
Forum: MagickWand
Topic: Exception
Replies: 11
Views: 2909

Re: Exception

ArunKumar wrote:
2020-05-04T04:21:08-07:00
*** stack smashing detected ***: java terminated
java: MagickCore/cache-view.c:1109: SyncCacheViewAuthenticPixels: Assertion `cache_view != (CacheView *) NULL' failed.
why I'm getting this ?
by ArunKumar
2020-05-04T04:21:08-07:00
Forum: MagickWand
Topic: Exception
Replies: 11
Views: 2909

Re: Exception

*** stack smashing detected ***: java terminated
java: MagickCore/cache-view.c:1109: SyncCacheViewAuthenticPixels: Assertion `cache_view != (CacheView *) NULL' failed.
by ArunKumar
2020-05-04T03:03:43-07:00
Forum: MagickWand
Topic: Exception
Replies: 11
Views: 2909

Re: Exception

java: MagickCore/cache-view.c:1109: SyncCacheViewAuthenticPixels: Assertion `cache_view != (CacheView *) NULL' failed. Why Im Getting this ? Im using MagickWand API to resize the image And Im getting this Exception too insufficient image data in file `OriginalImages/image21.jpg' @ error/jpeg.c/ReadJ...
by ArunKumar
2020-04-29T21:20:51-07:00
Forum: MagickWand
Topic: Exception
Replies: 11
Views: 2909

Re: Exception

MagickWandGenesis(); NewMagickWand(); MagickReadImage(); MagickResizeImage(); MagickWriteImage(); DestroyMagickWand(); When I called this method using Multithread concept Im getting this Exception Exception:insufficient image data in file `OriginalImages/image197.jpg' @ error/jpeg.c/ReadJPEGImage_/1...
by ArunKumar
2020-04-29T08:59:31-07:00
Forum: MagickWand
Topic: Exception
Replies: 11
Views: 2909

Re: Exception

what is /tmp ? how to free that space ?
by ArunKumar
2020-04-29T06:47:57-07:00
Forum: MagickWand
Topic: Exception
Replies: 11
Views: 2909

Exception

unable to extend cache 'OriginalImages/image104.jpg': No space left on device @ error/cache.c/OpenPixelCache/3888 unable to write pixel cache '/tmp/magick-27356o9E96NGd2Qaw': No space left on device @ error/cache.c/WritePixelCachePixels/583 Why I am getting this exception ? Im using MagickWand API t...
by ArunKumar
2020-04-20T04:07:57-07:00
Forum: MagickWand
Topic: All MagickWand methods are Thread safe
Replies: 3
Views: 1389

Re: All MagickWand methods are Thread safe

Hence shall I avoid MagickWandGenesis() and MagickWandTerminus() in using my multithreaded program?

will this create any problem If I avoided the MagickWandGenesis() and MagickWandTerminus() method ?
by ArunKumar
2020-04-19T22:24:10-07:00
Forum: MagickWand
Topic: All MagickWand methods are Thread safe
Replies: 3
Views: 1389

All MagickWand methods are Thread safe

MagickWandGenesis();
MagickWandTerminus();

NewMagickWand();
DestroyMagickWand

MagickReadImage()
MagickWriteImage()

MagickResizeImage()

I'm using the above magickwand method the resize the image
Is all the above methods are thread safe(i.e is able to use this method for multithread operation)?
by ArunKumar
2020-04-12T22:30:21-07:00
Forum: MagickWand
Topic: How to reduce the time taken by MagickWand methods
Replies: 19
Views: 3970

Re: How to reduce the time taken by MagickWand methods

With JPEG yes. Set the JPEG size property. From the command-line it looks like this: $ time convert -define jpeg:size=1000x1000 image3.jpg -resize 1000x1000 image.png 2.249u 0.105s 0:01.58 148.1% 0+0k 0+2432io 0pf+0w MagickWand method to do this? What is -define jpeg:size=1000x1000 doing ? Will thi...
by ArunKumar
2020-04-12T13:03:13-07:00
Forum: MagickWand
Topic: How to reduce the time taken by MagickWand methods
Replies: 19
Views: 3970

Re: How to reduce the time taken by MagickWand methods

magick wrote:
2020-04-12T10:36:11-07:00
With JPEG yes. Set the JPEG size property. From the command-line it looks like this:

Code: Select all

$ time convert -define jpeg:size=1000x1000 image3.jpg -resize 1000x1000 image.png
2.249u 0.105s 0:01.58 148.1%    0+0k 0+2432io 0pf+0w
MagickWand method to do this?
by ArunKumar
2020-04-12T09:29:10-07:00
Forum: MagickWand
Topic: How to reduce the time taken by MagickWand methods
Replies: 19
Views: 3970

Re: How to reduce the time taken by MagickWand methods

If the debugging mentions heap, its processing in memory. If it mentions disk, its processing the image on disk. It mention Heap during debugging .Since it take nearly 20 seconds to resize the 80MB JPEG image 8 seconds to read and 12 seconds to resize I use MagickResizeImage() method to resize the ...
by ArunKumar
2020-04-11T07:38:39-07:00
Forum: MagickWand
Topic: How to reduce the time taken by MagickWand methods
Replies: 19
Views: 3970

Re: How to reduce the time taken by MagickWand methods

export MAGICK_DEBUG=cache
It will show you if your image is cached to disk.
Yeah I'm getting something .But how to debug whether the image is readed & resized in memoy?

How to dubug the output of cache result ?
by ArunKumar
2020-04-11T03:05:26-07:00
Forum: MagickWand
Topic: How to reduce the time taken by MagickWand methods
Replies: 19
Views: 3970

Re: How to reduce the time taken by MagickWand methods

In the case of image resizing, you can sample the image with MagickSampleImage() rather than with MagickResizeImage().
But using MagickSampleImage() lead to loss of the Quality Image.
I need to resize the image without loss of Quality with less time
Any Way ?