Search found 71 matches

by niyanwen
2019-07-02T14:22:36-07:00
Forum: Users
Topic: How to know the image's transparent space?
Replies: 33
Views: 31462

Re: How to know the image's transparent space?

Hi, when I used this command to trim the white space, if get output like 0x0+4500+5400, can I assume it is a fully transparent image when I use IM6? for the other method to take care of this is a bit slow, I want to combine to see if I can tell from this command convert SHIRT_ART_IMAGE1.png -format ...
by niyanwen
2019-07-02T10:58:47-07:00
Forum: Users
Topic: Image Magick 7 VS 6, for some command not working in 6, but 7 is much slower
Replies: 6
Views: 7795

Re: Image Magick 7 VS 6, for some command not working in 6, but 7 is much slower

I have some error to check the version since my cloud desktop install IM6, and I need to check the version actually generated in bin by java I am working on fix this, for now what I can only find is for IM6 it shows libMagickCore-6.Q16 for IM7, islibMagickCore-7.Q16HDRI personally I would stick with...
by niyanwen
2019-07-02T10:19:16-07:00
Forum: Users
Topic: Image Magick 7 VS 6, for some command not working in 6, but 7 is much slower
Replies: 6
Views: 7795

Re: Image Magick 7 VS 6, for some command not working in 6, but 7 is much slower

for 6 we are using 6.9.4_1 ( 6.9.4_1.203308.0 )
for 7 we are using 7.x ( 7.x.200529.0 )

so is there any way to increase the speed of 7? if not we will stick with 6
by niyanwen
2019-07-02T09:01:03-07:00
Forum: Users
Topic: Image Magick 7 VS 6, for some command not working in 6, but 7 is much slower
Replies: 6
Views: 7795

Image Magick 7 VS 6, for some command not working in 6, but 7 is much slower

Hi, I am working in industry and need to use image magick to process images. I stated using image magick last month, with image magick 6.9, it works well, then for some use case, like detect transparent image and compare image, result of 6 doesn't match result of 7, and I believe result of 7 is corr...
by niyanwen
2019-07-02T09:00:30-07:00
Forum: Users
Topic: How to know the image's transparent space?
Replies: 33
Views: 31462

Re: How to know the image's transparent space?

got it, start a new post, thank you!
by niyanwen
2019-07-01T22:20:17-07:00
Forum: Users
Topic: How to know the image's transparent space?
Replies: 33
Views: 31462

Re: How to know the image's transparent space?

one compare image are same command starts fail and detect transparent image command did not work also
image magick version: 6.9.4_1
by niyanwen
2019-07-01T22:13:55-07:00
Forum: Users
Topic: How to know the image's transparent space?
Replies: 33
Views: 31462

Re: How to know the image's transparent space?

one interesting thing is it is much slower because I used 7.X version in my java application, but if I switched to 6.9 version, it is much faster, but one compare command is starts fail
by niyanwen
2019-07-01T20:55:33-07:00
Forum: Users
Topic: How to know the image's transparent space?
Replies: 33
Views: 31462

Re: How to know the image's transparent space?

thanks, it works

I have another question, so currently I am running two commands in my java application. one is scale image, the other is remove transparent space and get image offset, what I mentioned in this post, but it running is too slow, is there a way to increase the processing speed?
by niyanwen
2019-06-27T10:25:36-07:00
Forum: Users
Topic: How to know the image's transparent space?
Replies: 33
Views: 31462

Re: How to know the image's transparent space?

thanks for you answer, in this case, I only care the image is fully transparent or not fully transparent, I think I would go with this command, if there is other shorter one, since I use java code, so shorter one might be clearer, but if not, it is fine convert transparent_image.png -channel a -sepa...
by niyanwen
2019-06-26T14:54:40-07:00
Forum: Users
Topic: How to know the image's transparent space?
Replies: 33
Views: 31462

Re: How to know the image's transparent space?

in the other answer I saw you are using this command, is this the only way to do it?
convert transparent_image.png -channel a -separate -scale 1x1! -format "%[fx:mean]\n" info:
by niyanwen
2019-06-26T14:50:03-07:00
Forum: Users
Topic: How to know the image's transparent space?
Replies: 33
Views: 31462

Re: How to know the image's transparent space?

I want to see if this image is fully transparent, if not I will trim this image as I mentioned above, so I cannot tell if it is transparent from detect transparency command right? is there a way I can just know if this is a fully transparent image or not? I don't want to know some transparency what ...
by niyanwen
2019-06-26T14:06:17-07:00
Forum: Users
Topic: How to know the image's transparent space?
Replies: 33
Views: 31462

Re: How to know the image's transparent space?

basically can I assume if output xOffset == src.getWidth() && yOffset == 0, sec is the original image before trim, I can say this image is total transparent?
by niyanwen
2019-06-26T12:58:34-07:00
Forum: Users
Topic: How to know the image's transparent space?
Replies: 33
Views: 31462

Re: How to know the image's transparent space?

Hi

something might be related, I also want to detect if this image is fully transparent, is there anything I can tell from this output, or I need to do it before running this command? for if it is transparent, I don't need to trim it
by niyanwen
2019-06-22T17:36:00-07:00
Forum: Users
Topic: How to know the image's transparent space?
Replies: 33
Views: 31462

Re: How to know the image's transparent space?

thanks, question for my own learning, for printing purpose, we only need to know top, left boundary, which is x, y and we don't need to know right, and bottom boundary right?