Login  Register

Saved image includes Pixel Inspection Tool marker

Posted by J. Lewis Muir-2 on Feb 13, 2020; 1:15pm
URL: http://imagej.273.s1.nabble.com/Saved-image-includes-Pixel-Inspection-Tool-marker-tp5022932.html

Hello!

In ImageJ 1.52s, if I select the Pixel Inspection Tool and click on a
pixel in an image and then save the image as GIF, JPEG, or PNG, the
red box indicating the selected pixel of the Pixel Inspection Tool is
included in the image!  This is very surprising and undesirable.  I
think this must be a bug.  Can anyone confirm?

I found that this does not occur (i.e., the red box is not included in
the saved image) if I instead save as TIFF or BMP.

Here's how to reproduce:

1. Choose File > New > Image.

2. Accept the defaults (e.g., 8-bit, fill with black, 512x512 pixels)
   and click OK.

3. Select the Pixel Inspection Tool.

4. Click somewhere in the image on a pixel (e.g., x=75, y=75) which
   displays a small red box indicating the pixel that is currently being
   inspected.

5. Choose File > Save As > Gif (or Jpeg or PNG).

6. Open the saved image with a different image viewer and observe that
   the red box is in the image!

Thank you!

Lewis

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html