hallvard / plantuml

Embed UML diagrams in files and view them in Eclipse
http://plantuml.sourceforge.net/
212 stars 58 forks source link

Colors are "strange" when copying image from non-svg view #180

Open uwe83 opened 5 months ago

uwe83 commented 5 months ago

When using the Plugin for verifying #179, after it had been fixed, I noticed the following:

Put this code into bla.txt: ''' @startuml

box A #FF0000 participant A1 end box

box B #00FF00 participant B2 end box

box C #0000FF participant C3 end box

@enduml '''

Check the image and "copy" it: image

Paste it into Paint: image

blue and red are inverted

Other diagrams react similarly.

Other tools react similarly: I tried Microsoft Word, Chrome (using github to file this ticket), GIMP on Windows 11.

uwe83 commented 5 months ago

This may be related: https://bugs.eclipse.org/bugs/show_bug.cgi?id=78856