Search found 6 matches

by ExpertNoob
2013-10-23T22:04:45-07:00
Forum: Developers
Topic: Check if pixel belongs to shape ?
Replies: 1
Views: 3463

Check if pixel belongs to shape ?

Does MagickCore have means of testing if a given pixel is in a given region of the image (circle, polygon, ..) ?
by ExpertNoob
2011-02-07T07:13:28-07:00
Forum: Users
Topic: Make area defined by Boolean mask transparent
Replies: 9
Views: 16222

Re: Make area defined by Boolean mask transparent

Anthony: thanks for the explanation. I must admit I didn't get half of it :shock: but I'm sure it'll be useful to many who may face the same issue, and happen to be less ignorant than myself. :oops: I tried your command, however, and it yielded a black background (as you predicted), which is, at ...
by ExpertNoob
2011-02-06T15:23:51-07:00
Forum: Users
Topic: Make area defined by Boolean mask transparent
Replies: 9
Views: 16222

Re: Make area defined by Boolean mask transparent

Thanks for the explanation.
I think there is more to it: XnView seems to think the background is white, too !

Image

And FireFox, as well, displays a white background.
by ExpertNoob
2011-02-06T15:01:13-07:00
Forum: Users
Topic: Make area defined by Boolean mask transparent
Replies: 9
Views: 16222

Re: Make area defined by Boolean mask transparent

IM v6.4.0 04/17/08 Q16 under WinXP SP3 up to date. Just to make sure, I downloaded and installed latest version (v6.6.7-Q16) in a VM. I get the same characteristics (identify -verbose) for "result.tif", but that's not transparent background! Look at this screenshot from Photoshop: http://i52.tinypic ...
by ExpertNoob
2011-02-06T13:26:48-07:00
Forum: Users
Topic: Make area defined by Boolean mask transparent
Replies: 9
Views: 16222

Re: Make area defined by Boolean mask transparent

Thanks fmw42. I've been looking at the documentation for a while, to no avail. With copy_opacity and dst_in, the white background pixels in pic.tif (which are black in mask.tif) remain white! They don't become transparent in result.tif. I'm starting to believe IM can't do this simple task. I refuse ...
by ExpertNoob
2011-02-06T08:27:31-07:00
Forum: Users
Topic: Make area defined by Boolean mask transparent
Replies: 9
Views: 16222

Make area defined by Boolean mask transparent

Hi,

Gereyscale "pic.tif" (8bit, 600dpi) and black & white "mask.tif" (1bit, 96dpi) are of the same size.
How can I make every black pixel in "mask.tif" transparent in "pic.tif" ? (pixel of the same coordinates, that is).

Thx.