Search found 75 matches

by niyanwen
2019-11-29T12:44:50-07:00
Forum: Users
Topic: Scale image with transparent background but convert background to black
Replies: 9
Views: 610

Re: Scale image with transparent background but convert background to black

fmw42 wrote:
2019-11-27T17:48:53-07:00
Perhaps it is your version of libpng. If it is old, try upgrading.
Hi,

we cannot upgrade ImageMagick easily, I am just wondering if add "background none" in the scale command, will it introduce more bug? or it is safe to add it?
by niyanwen
2019-11-27T16:44:26-07:00
Forum: Users
Topic: Scale image with transparent background but convert background to black
Replies: 9
Views: 610

Re: Scale image with transparent background but convert background to black

The simple command... magick "SHIRT_ART_IMAGE B07KW1Q17J.png" -resize "4500x5400^!" x.png ... works for me with IM 7.0.8-64 and 6.9.9-50. I suppose the requirement to add "-background None" is a bug in newer versions. we are using older version (IM6 some version), and we can only use convert but no...
by niyanwen
2019-11-27T11:26:22-07:00
Forum: Users
Topic: Scale image with transparent background but convert background to black
Replies: 9
Views: 610

Re: Scale image with transparent background but convert background to black

yeah

add "background none" works for me, any side effects will cause to have this?
by niyanwen
2019-11-26T14:11:48-07:00
Forum: Users
Topic: Scale image with transparent background but convert background to black
Replies: 9
Views: 610

Scale image with transparent background but convert background to black

Hi, We are using scale image command, but for some specific image which background is transparent, it will set the background to black after scale command, could you help me why this happened? command I am using: convert original_image.png -resize 4500x5400! output_image.png original image: https://...
by niyanwen
2019-10-09T09:20:04-07:00
Forum: Users
Topic: ImageMagick7 runs much slower than version6
Replies: 27
Views: 7449

Re: ImageMagick7 runs much slower than version6

IM6 is limit thread 1 by default?
by niyanwen
2019-10-09T08:57:55-07:00
Forum: Users
Topic: ImageMagick7 runs much slower than version6
Replies: 27
Views: 7449

Re: ImageMagick7 runs much slower than version6

limit thread help, so now I am doing 1. limit 2. disable HDR 3. add quality to improve the speed, thank you guys!
by niyanwen
2019-10-08T17:12:07-07:00
Forum: Users
Topic: ImageMagick7 runs much slower than version6
Replies: 27
Views: 7449

Re: ImageMagick7 runs much slower than version6

-limit thread 1 just disable your 16 processors and forces Imagemagick to use just 1. It has nothing to do with HDRI. To disable HDRI or OpenMP, you have to recompile ImageMagick. I doubt disabling OpenMP will make a difference since -limit thread 1 did not seem to help. just one concern is what do...
by niyanwen
2019-10-08T17:01:31-07:00
Forum: Users
Topic: ImageMagick7 runs much slower than version6
Replies: 27
Views: 7449

Re: ImageMagick7 runs much slower than version6

looks like limit thread helps and speed improve a lot!
by niyanwen
2019-10-08T16:55:37-07:00
Forum: Users
Topic: ImageMagick7 runs much slower than version6
Replies: 27
Views: 7449

Re: ImageMagick7 runs much slower than version6

oh I haven't try limit 1 yet, now I just tried disable HDR I found in some posts says it will help, I saw another suggestion is try add -quality 21?
https://www.imagemagick.org/discourse-s ... hp?t=27672
by niyanwen
2019-10-08T16:11:13-07:00
Forum: Users
Topic: ImageMagick7 runs much slower than version6
Replies: 27
Views: 7449

Re: ImageMagick7 runs much slower than version6

Hi, does that mean HDRI has been disabled? looks like it is still slow. do I need also disable OpenMP? if it is, do you know how to do it? [niyanwen@mftp-ygw-i-d-2a-43520b1f]/apollo/env/MerchFTProductionAssetManagerService/bin% ./convert -version Version: ImageMagick 7.0.8-37 Q16 x86_64 2019-10-08 h...
by niyanwen
2019-10-08T10:56:13-07:00
Forum: Users
Topic: Image looks different after removing transparent space and scaled
Replies: 45
Views: 11927

Re: Image looks different after removing transparent space and scaled

oh the offset is correct, the bug I mean is the output is different, as I mentioned earlier in this post, there is transparency in the original pic but in the output these transparency are missing, the transparaency I men is on the image, like black ranger in the pic with IM6 original: https://drive...
by niyanwen
2019-10-07T23:04:50-07:00
Forum: Users
Topic: ImageMagick7 runs much slower than version6
Replies: 27
Views: 7449

Re: ImageMagick7 runs much slower than version6

the one you talk about limit thread is this below?
convert -limit thread 1 src.png -resize 4000x5000! -format %@ -write info: -trim +repage -bordercolor none -border 5 dest.png

I try this but got errors
by niyanwen
2019-10-07T22:44:33-07:00
Forum: Users
Topic: Image looks different after removing transparent space and scaled
Replies: 45
Views: 11927

Re: Image looks different after removing transparent space and scaled

think it over I believe the bug happened in this command, sorry make you guys confused since our java application are using two commands together convert b.png -format %@ -write info: -trim +repage -bordercolor none -border 5 c.png the use case is I need to trim the transparency out of the image and...
by niyanwen
2019-10-07T22:27:16-07:00
Forum: Users
Topic: ImageMagick7 runs much slower than version6
Replies: 27
Views: 7449

Re: ImageMagick7 runs much slower than version6

looks like I make it combine by this:
convert src.png -resize 4000x5000! -format %@ -write info: -trim +repage -bordercolor none -border 5 dest.png
by niyanwen
2019-10-07T22:16:02-07:00
Forum: Users
Topic: ImageMagick7 runs much slower than version6
Replies: 27
Views: 7449

Re: ImageMagick7 runs much slower than version6

is there a way I can combine these two commands into one?
so this is first command:
convert a.png -resize 4500x5400! b.png
this second command:
convert b.png -format %@ -write info: -trim +repage -bordercolor none -border 5 c.png