http://imagej.273.s1.nabble.com/Saved-image-includes-Pixel-Inspection-Tool-marker-tp5022932p5022933.html
is in fact an overlay. When saving images with overlays in JPG- or
PNG-format, they are flattened, i.e. the overlay is imprinted onto the
image. This behavior isn't a bug.
"Image >> Overlay >> Remove Overlay".
J. Lewis Muir-2 wrote
> 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