Drawpile icon indicating copy to clipboard operation
Drawpile copied to clipboard

Annotation tool text is not included in output when saved as a flattened image type

Open chrystalclear opened this issue 4 years ago • 3 comments

Using version 2.1.17 on Windows 10 Home (64 bit). According to my friend, she's been having this same issue on this and previous versions for at least a year as well.

Steps to reproduce:

  1. Open a new canvas
  2. Add any text with the annotation tool
  3. Save the canvas with File>Save As..., name the file anything, and select PNG (*.png) (or BMP/JPEG) in the Save as type dialog
  4. Hit save, click Flatten on the extra Save Image layer warning dialogue that appears
  5. Check the resulting image and see that no text appears on the outputted image

chrystalclear avatar Jun 06 '20 08:06 chrystalclear

It's simply because raster image formats do not support anotations, it's a property of ORA files. https://github.com/drawpile/Drawpile/wiki/OpenRaster

You have to press merge on them first so they appear in the raster layer. It's the raster layers the ones that get flattened.

notfood avatar Jun 06 '20 08:06 notfood

I suppose a "include annotations" checkbox could be added to the "flatten image" dialog to give the option to automatically merge the annotations.

callaa avatar Jun 07 '20 15:06 callaa

I suppose a "include annotations" checkbox could be added to the "flatten image" dialog to give the option to automatically merge the annotations.

This is probably the best way of dealing with it so people don't have to merge text they may decide to edit later.

Wade821 avatar Jun 08 '20 05:06 Wade821

This is fixed and available in the continuous release: https://github.com/drawpile/Drawpile/releases/tag/continuous

I didn't put in any toggle, it just always exports the annotations to flat images because to me that just makes sense. You can see them on the canvas, so they should end up in the image.

Thanks for reporting it!

askmeaboutlo0m avatar Dec 04 '23 18:12 askmeaboutlo0m