Re: Show command trims bitmap edges? (newbie)
- To: mathgroup at smc.vnet.net
- Subject: [mg54698] Re: Show command trims bitmap edges? (newbie)
- From: "Matthew McMahon" <matthew.mcmahon at vanderbilt.edu>
- Date: Sun, 27 Feb 2005 01:29:31 -0500 (EST)
- Organization: Vanderbilt University usenet news server
- References: <cv6r3o$6ab$1@smc.vnet.net> <cvk3d3$d68$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Thanks for email help Paul and Chris... Setting the AspectRatio to the proportions of the figure fixes the problem. Matthew "Paul Abbott" <paul at physics.uwa.edu.au> wrote in message news:cvk3d3$d68$1 at smc.vnet.net... > In article <cv6r3o$6ab$1 at smc.vnet.net>, > "Matthew McMahon" <matthew.mcmahon at vanderbilt.edu> wrote: > > > I've encountered a strange issue (running 5.0) that I couldn't find any > > references to in the Help or online documentation. I'm importing tiny > > monochrome bitmap files into Mathematica, in order to create a pattern that > > tiles the black-pixel pattern in x and y repeatedly. > > There are other ways to generate pixel-level graphics. What is the > application and what, exactly, are you trying to do? > > Cheers, > Paul > > > I can import the file > > correctly (I've checked with the Dimensions function and everything works > > properly), but when I use the Show command to check that I've got the right > > bitmap, I don't see the proper image. I tested it by creating a > > 1-white-pixel-wide buffer around the original image, and then I saw the > > correct original image with the Show command. So it appears that the Show > > command is somehow cropping the image by 1 pixel (for images smaller than > > 10x10 pixels). > > > > I suppose I could just design all my bitmaps with an extra pixel buffer, but > > that's much less elegant. Does anyone know why this is happening? > > > > Appreciating any help, > > Matthew > > > > > > -- > Paul Abbott Phone: +61 8 6488 2734 > School of Physics, M013 Fax: +61 8 6488 1014 > The University of Western Australia (CRICOS Provider No 00126G) > 35 Stirling Highway > Crawley WA 6009 mailto:paul at physics.uwa.edu.au > AUSTRALIA http://physics.uwa.edu.au/~paul >