problems with Rasterize
- To: mathgroup at smc.vnet.net
- Subject: [mg125318] problems with Rasterize
- From: Stefan Salanski <wutchamacallit27 at gmail.com>
- Date: Tue, 6 Mar 2012 05:59:09 -0500 (EST)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
Hello all, today I ran into some trouble with Rasterize. At first I though I must have been using it incorrectly, but then I realized that I cant even evaluate the examples on its manual page.
The first example on the page simply takes a Graphics object and rasterizes it.
In[1]:= Rasterize[Graphics[Disk[]], RasterSize -> 15]
However, when I run this (on a fresh kernel), I get the following:
During evaluation of In[1]:= First::normal: Nonatomic expression expected at position 1 in First[False]. >>
During evaluation of In[1]:= Last::normal: Nonatomic expression expected at position 1 in Last[False]. >>
During evaluation of In[1]:= ReplaceAll::reps: {Last[False]} is neither a list of replacement rules nor a valid dispatch table, and so cannot be used for replacing. >>
During evaluation of In[1]:= ReplaceAll::reps: {Last[False]} is neither a list of replacement rules nor a valid dispatch table, and so cannot be used for replacing. >>
During evaluation of In[1]:= ReplaceAll::reps: {Last[False]} is neither a list of replacement rules nor a valid dispatch table, and so cannot be used for replacing. >>
During evaluation of In[1]:= General::stop: Further output of ReplaceAll::reps will be suppressed during this calculation. >>
During evaluation of In[1]:= Set::shape: Lists {{System`ConvertersDump`xmin$920,System`ConvertersDump`xmax$920},{System`ConvertersDump`ymin$920,System`ConvertersDump`ymax$920}} and BoundingBox/.Last[False] are not the same shape. >>
During evaluation of In[1]:= Part::partd: Part specification (Regions/.Last[False])[[1,1]] is longer than depth of object. >>
During evaluation of In[1]:= Part::partd: Part specification (Regions->Last[False])[[2,1,1]] is longer than depth of object. >>
During evaluation of In[1]:= Part::partw: Part 2 of Last[False] does not exist. >>
During evaluation of In[1]:= Part::partd: Part specification (Regions->Last[False])[[2,1,2]] is longer than depth of object. >>
During evaluation of In[1]:= General::stop: Further output of Part::partd will be suppressed during this calculation. >>
During evaluation of In[1]:= Part::partw: Part 2 of Last[False] does not exist. >>
During evaluation of In[1]:= First::normal: Nonatomic expression expected at position 1 in First[$Failed]. >>
Out[1]= \!\(\*
GraphicsBox[First[$Failed],
ImageMargins->0.]\)
I dont know where the Last[False] statements are coming from, and any subsequent evaluation of the same line (or any other lines with Rasterize) results in a hang up, which I cannot abort and must force quit the kernel.
I am running version 8.0.0 on windows 7 32 bit. Does anyone have any ideas?
-Stefan Salanski
- Follow-Ups:
- Re: problems with Rasterize
- From: Bob Hanlon <hanlonr357@gmail.com>
- Re: problems with Rasterize