Re: image is not graphics
- To: mathgroup at smc.vnet.net
- Subject: [mg110886] Re: image is not graphics
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Sat, 10 Jul 2010 04:00:31 -0400 (EDT)
Rasterize[imComp, ImageSize -> 300] Magnify[imComp, 2] Bob Hanlon ---- Alessandro <alexxx.magni at gmail.com> wrote: ============= I have to admit that I'm really tired with Mathematica's assumption that "Image is not a graphics primitive or directive": I lost track of how many times I received that annoying error, due to this stupid internal dichotomy. At the moment I get the error since I'm trying to set in some way the output of the composition of two images with ImageSize, so I tried: Print[Graphics[ImageCompose[bi, Graphics[Locator[{0, 0}, loc]], {nx/2 - b, ny/2 + a}], ImageSize -> 300]], Seems that I cannot put Graphics around ImageCompose, since the latter returns an image which <sarcasm> as we all know is not a Graphics object... </sarcasm> so how do I use ImageSize? I'll be grateful to anybody who will help me here, but really this kind problem is happening more and more often - I believe that some rethinking of the graphics would be appreciated... thank you alessandro