Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #8887

problems with Rasterize

From Stefan Salanski <wutchamacallit27@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject problems with Rasterize
Date 2012-03-06 11:01 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jj4qq4$ih5$1@smc.vnet.net> (permalink)

Show all headers | View raw


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

Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

problems with Rasterize Stefan Salanski <wutchamacallit27@gmail.com> - 2012-03-06 11:01 +0000
  Re: problems with Rasterize Stefan Salanski <wutchamacallit27@gmail.com> - 2012-03-07 10:40 +0000

csiph-web