NewsSoftwareDownloadBuy NowAbout UsDevelopersContact
Blog Logo
<< October 2018 >>
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      

RSS Feed
We encourage your feedback and insights, but we've been forced to disable comments because of spam. Please use the forums for feedback.
Same Image - Multiple Masks
February 28, 2003

From an email:
When masking parts out of a PDF generated by printing a page, I often want to keep the original and just generate a new object with the masked portion. As an example, I'll print two graphs on a page in Mathematica and then mask them into two PDF graphics (which I'll export and include in a LaTeX file). Right now I have to copy the original graphic before performing the operation. Could you implement some way to do this without "consuming" the original source object in the operation?

Here's what I do:

Make the first mask group (to show the first graph, for example). Make sure it's selected, choose PDF from the Image Well, and drag out a PDF version of the masked image. There's graph #1.

Now I ungroup the mask group, move my masking rectangle to cover the second graph, and make another mask group. Again, I drag a PDF version from the Image Well. There's graph #2.

So I have my two separate pieces of the original image, and I haven't "consumed" the original. The Image Well makes it easy.

An advantage of this is that I know my two sub-images are the same size, since I used the same rectangle for masking.

No More Comments
Kris Jensen

I'm sorry, but we've had to disable comments due to overwhelming spam.
©2001 Stone Design top