Author Topic: Images with transparent background.  (Read 6292 times)

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Images with transparent background.
« on: December 13, 2023, 07:28:02 am »
When an image with a transparent background (e.g. .png)s is pasted from the clipboard to a diagram the transparent background displays as black. (16.1).
Does this happen for you?


The images is pasted as a boundary, so I tried setting the boundary to solid with a white background, to no effect.


The same thing happens when I paste as an image asset, changing the fill colour has no effect.


Any ideas?




Orthogonality rules
Using EA16.1 (1627) on Windows 11 Enterprise/64 bit. Repositories in SQLServer2019 DB Schema 1558.
WebEA on Pro Cloud Server 4.2.64

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13404
  • Karma: +567/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Images with transparent background.
« Reply #1 on: December 13, 2023, 08:35:16 am »
If you upload a png with a transparant background it works.

Geert

Takeshi K

  • EA User
  • **
  • Posts: 593
  • Karma: +39/-1
    • View Profile
Re: Images with transparent background.
« Reply #2 on: December 13, 2023, 10:55:50 am »
Maybe this is the same as what Geert says, but we need to drag the png file in the Explorer and drop the file onto a diagram and paste as an image.
The copy-and-paste via the clipboard will lost its transparent information. (I do not know that this is a limitation of Windows or EA.)

--
t-kouno

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Re: Images with transparent background.
« Reply #3 on: December 13, 2023, 12:07:19 pm »
Thanks, you are correct, if I drag and drop an image the transparency is not lost (rather than copy and paste it).


Its hard for me to test where the transparency is lost when pasting from the clipboard/
Orthogonality rules
Using EA16.1 (1627) on Windows 11 Enterprise/64 bit. Repositories in SQLServer2019 DB Schema 1558.
WebEA on Pro Cloud Server 4.2.64