Search found 22 matches

by loki5100
2018-09-01T00:00:59-07:00
Forum: MagickWand
Topic: Imagemagick wand use only one single CPU
Replies: 9
Views: 10702

Re: Imagemagick wand use only one single CPU

problem is that if you don't do fine tuning you can easily fall in situation where imagemagick will work very slowly, using only one CPU, or worse swaping between all cpu making operation very slow
by loki5100
2018-03-14T12:44:57-07:00
Forum: MagickWand
Topic: Imagemagick wand use only one single CPU
Replies: 9
Views: 10702

Re: Imagemagick wand use only one single CPU

@snibgo but why in this way IM choose by default MAGICK_THREAD_LIMIT=8 :(
by loki5100
2018-03-14T11:30:04-07:00
Forum: MagickWand
Topic: Imagemagick wand use only one single CPU
Replies: 9
Views: 10702

Re: Imagemagick wand use only one single CPU

thanks snibgo I try also with only one thread (i m inside an web ISAPI app) so instead of doing : THREAD 1 while true do _ NewMagickWand _ MagickReadImage _ MagickResizeImage _ DestroyMagickWand end THREAD 2 while true do _ NewMagickWand _ MagickReadImage _ MagickResizeImage _ DestroyMagickWand end ...
by loki5100
2018-03-14T01:37:06-07:00
Forum: MagickWand
Topic: Imagemagick wand use only one single CPU
Replies: 9
Views: 10702

Re: Imagemagick wand use only one single CPU

@snibgo I think i found what i will call a bug in ImageMagick On my computer I have 4 core and 8 Logical processors in the default policy.xml the row <!-- <policy domain="resource" name="thread" value="4"/> --> is commented, but when i do convert -list resource Resource limits: Width: 214.748MP Heig...
by loki5100
2018-03-14T00:56:39-07:00
Forum: MagickWand
Topic: Imagemagick wand use only one single CPU
Replies: 9
Views: 10702

Re: Imagemagick wand use only one single CPU

Thanks snibgo, i m doing the "block" of theses operations in parallel like below : THREAD 1 while true do _ NewMagickWand _ MagickReadImage _ MagickResizeImage _ DestroyMagickWand end THREAD 2 while true do _ NewMagickWand _ MagickReadImage _ MagickResizeImage _ DestroyMagickWand end THREAD 3 while ...
by loki5100
2018-03-13T14:38:35-07:00
Forum: MagickWand
Topic: Imagemagick wand use only one single CPU
Replies: 9
Views: 10702

Imagemagick wand use only one single CPU

I have a multi thread app (8 threads) on a multi core machine (8 cpu). each thread is doing in parallel NewMagickWand MagickReadImage MagickResizeImage DestroyMagickWand but imageMagick use only ONE CPU instead of 8 ! Even if I setup each thread to use a dedicated CPU with SetThreadAffinityMask Imag...
by loki5100
2018-02-27T09:53:20-07:00
Forum: Users
Topic: Is it better to resize one time or it's ok to do it several time ?
Replies: 3
Views: 1382

Is it better to resize one time or it's ok to do it several time ?

I need to create several variation of a picture in several resolutions like : original size = 2048x2048 1280x1280 800x800 640x640 480x480 360x360 240x240 150x150 100x100 Actually i always resize each variation from the original size like this : 2048x2048 => 1280x1280 2048x2048 => 800x800 2048x2048 =...
by loki5100
2018-02-26T11:55:19-07:00
Forum: Users
Topic: do we need sRGB v4 or sRGB v2 when exporting to the web?
Replies: 14
Views: 3526

Re: do we need sRGB v4 or sRGB v2 when exporting to the web?

@snibgo ... exact i just try it :) so no need to call MagickSetImageColorspace :)

thanks !
by loki5100
2018-02-26T11:05:34-07:00
Forum: Users
Topic: do we need sRGB v4 or sRGB v2 when exporting to the web?
Replies: 14
Views: 3526

Re: do we need sRGB v4 or sRGB v2 when exporting to the web?

but if i convert say a CMYK image with icc profile to sRGB icc profile, then do i need to keep the image color space in CMYK ?
by loki5100
2018-02-26T09:48:21-07:00
Forum: Users
Topic: do we need sRGB v4 or sRGB v2 when exporting to the web?
Replies: 14
Views: 3526

Re: do we need sRGB v4 or sRGB v2 when exporting to the web?

@snibgo, i have another question, do you know what is MagickSetImageColorspace ? i m a little lost to understand the difference with Icc profile :( do i need to worry about image color space ?
by loki5100
2018-02-26T08:30:31-07:00
Forum: Users
Topic: do we need sRGB v4 or sRGB v2 when exporting to the web?
Replies: 14
Views: 3526

Re: do we need sRGB v4 or sRGB v2 when exporting to the web?

by the way doing this we must absolutely not use the sRGB.icc profile located in imagemagick, It's produce very different and completely washed out image when the image is showed on android or non color managed software (who ignore the icc)
by loki5100
2018-02-26T08:20:55-07:00
Forum: Users
Topic: do we need sRGB v4 or sRGB v2 when exporting to the web?
Replies: 14
Views: 3526

Re: do we need sRGB v4 or sRGB v2 when exporting to the web?

thanks snibgo ! so i decide to store the image in the server in 2 variants: one with icc profile given at the upload time (even if it's sRGB as their is many sRGB variant) and one converted to the sRGB.icc profile (and to with i will strip of the sRGB icc profile as android will simply not read it) ...
by loki5100
2018-02-26T07:55:06-07:00
Forum: Users
Topic: do we need sRGB v4 or sRGB v2 when exporting to the web?
Replies: 14
Views: 3526

Re: do we need sRGB v4 or sRGB v2 when exporting to the web?

Do you mean android simply ignores the ICC profile, or that it refuses to display the image? yes android simply ignore icc profile :( it's show the image like if no embed icc profile was present If it simply ignores the profile and assumes the image is sRGB, then embedding an sRGB profile is harmle...
by loki5100
2018-02-26T06:34:04-07:00
Forum: Users
Topic: do we need sRGB v4 or sRGB v2 when exporting to the web?
Replies: 14
Views: 3526

Re: do we need sRGB v4 or sRGB v2 when exporting to the web?

thanks snibgo, i start to see a little better now :) Last question, android device < 0 can't handle icc profile (that a shame). What would you suggest to me ? Store the picture on the server in both variant, I mean with icc profile embed and without icc profile embed where i first make the conversio...