MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Exporting images without white borders

  • To: mathgroup at
  • Subject: [mg80889] Re: Exporting images without white borders
  • From: thomas <thomas.muench at>
  • Date: Wed, 5 Sep 2007 02:44:47 -0400 (EDT)

On Apr 23, 11:36 am, "Steven T. Hatton" <hatt... at>

> If I import an image into a notebook and use the raster to create an image
> with the same number of pixels, when I export the image it always has a
> white frame around it.

I have had problems with white borders in exported images as well.
(with Mathematica 5.2 for Windows (XP), I'm not sure the problem persists in
v. 6)

It turned out, however, that the 1-pixel border was not always
*white*, but it was the color of "Window" as it is set in the Display
Properties of Windows XP (which usually happens to be white) (Go to
Display Properties ('Appearance' Tab) > Advanced and choose the Item
'Window'. Whatever color you set there will be the color of the
additional pixel frame when you export an image from Mathematica) By
the way, when you change this color, the background color of the
notebook window will change accordingly. If I remember correctly,
however, it is NOT sufficient to change the background color of the
notebook alone to change the export-frame color.

I am curious if this is a Windows-specific bug of Mathematica or if it
happens on other platforms as well.


  • Prev by Date: Re: using units and plotting
  • Next by Date: RE: What is $MaxNumber on a 64 bit Computer?
  • Previous by thread: Conditional Optimization
  • Next by thread: Problem in Solving Double Integral for PDF transformation