Author Topic: Azure Icons print with black background  (Read 8019 times)

Sunshine

  • EA Practitioner
  • ***
  • Posts: 1324
  • Karma: +121/-10
  • Its the results that count
    • View Profile
Azure Icons print with black background
« on: November 07, 2020, 10:26:49 am »
I've raised this with Sparx Support. Just letting you know there seems to be an issue with any Azure icon that has a transparent background when printing. It comes out with a black background so differs in appearance to what is shown on the screen.
Makes the printed diagram look a pretty ugly.
« Last Edit: November 07, 2020, 10:30:08 am by Sunshine »
Happy to help
:)

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Azure Icons print with black background
« Reply #1 on: November 07, 2020, 05:55:00 pm »
Hi Sunshine,

I remember seeing something similar to this, transparent icons which showed up black when generating documents and/or copy/pasting.
As I recall, this was affected by the clipboard format. So it might be worth playing with that (preferences - general).

HTH,


/Uffe
My theories are always correct, just apply them to the right reality.

Sunshine

  • EA Practitioner
  • ***
  • Posts: 1324
  • Karma: +121/-10
  • Its the results that count
    • View Profile
Re: Azure Icons print with black background
« Reply #2 on: November 08, 2020, 03:10:04 pm »
Thanks for tip Will investigate
Happy to help
:)

Sunshine

  • EA Practitioner
  • ***
  • Posts: 1324
  • Karma: +121/-10
  • Its the results that count
    • View Profile
Re: Azure Icons print with black background
« Reply #3 on: November 09, 2020, 05:45:44 pm »
So tried changing the clipboard format. The clipboard format was set to Bitmap so I changed it to Metafile but alas made no difference.  :(
Happy to help
:)

Sunshine

  • EA Practitioner
  • ***
  • Posts: 1324
  • Karma: +121/-10
  • Its the results that count
    • View Profile
Re: Azure Icons print with black background
« Reply #4 on: November 20, 2020, 06:00:28 am »
Raised a bug with Sparx EA a few weeks ago but other than an automated response I've heard nothing. Unusual as Sparx support are usually quite good a responding after raising a bug.



Happy to help
:)

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +54/-3
    • View Profile
Re: Azure Icons print with black background
« Reply #5 on: November 20, 2020, 10:02:50 am »
Just been chatting with our graphics expert. He says we can only do transparencies with bitmaps, not metafiles, so clipboard format has to be set to bitmap. And if you're using the print function, a lot will depend on printer drivers etc, so your best bet would be to save diagrams as PNG or PDF and then print that.
The Sparx Team
[email protected]

Martin_Bohring

  • EA Novice
  • *
  • Posts: 12
  • Karma: +5/-2
    • View Profile
Re: Azure Icons print with black background
« Reply #6 on: December 23, 2020, 07:43:19 pm »
 :(

I don't think this can be the final answer to this issue.

First:
The Azure Icons are a brand new Feature and are completely useless for document generation by now.
(Especially if you give the documentation to external Stakeholders. Looks very non professional)

Second:
Why clipboard format settings should be related to printing totally escapes my imagination

Third:
@Sparx You render those meta files. So why it should not be possible to render those on top of a diagram in a transparent fashion is a mystery to me.
Either you have some "very" legacy code rendering the diagrams or you use an external library that you should get rid of.

In either case this cannot be the final answer in the year 2020. Leave your legacy behind. It is already an uphill battle to establish proper modelling against PowerPoint and Visio. With BS like this it is a loosing game.

« Last Edit: December 23, 2020, 07:45:08 pm by Martin_Bohring »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13404
  • Karma: +567/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Azure Icons print with black background
« Reply #7 on: December 23, 2020, 11:05:42 pm »
I think you misunderstood something.

You need to the change the document generation options to use Bitmap instead of metafile.
Then it works as you would expect.

Press F8, go to Options, and set Diagram Format to Bitmap

Now the azure icons are generated to the document including their transparency.

Geert

Martin_Bohring

  • EA Novice
  • *
  • Posts: 12
  • Karma: +5/-2
    • View Profile
Re: Azure Icons print with black background
« Reply #8 on: December 24, 2020, 01:00:39 am »
Hi Geert,
thanks for the clarification.
That defuses one of my "frustration" / rant points  :)
(The second one about the Clipboard).

I am testing the latest Sparx EA Release (15.2.1556) right now and some bugs still get me enraged / heated up.
(e.g. SysML IBD diagrams and their layout problems. Or printing problems in general)

Or the fact that updating to a newer version still manages to kill the layout of existing diagrams
(despite being locked and visually frozen)

A happy Christmas to all Sparx Users and Employees


Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13404
  • Karma: +567/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Azure Icons print with black background
« Reply #9 on: December 24, 2020, 01:31:53 am »
In fact the latest version actually is 15.2.1557 (released today)

One of the bullets of the release notes reads:

Quote
Restored previous behavior for showing types and compartments for SysML diagrams to prevent layout changes

So that might be a fix for one of your issues.

Geert

PS. I wouldn't get so worked up about these bugs. You won't have any hair left soon if you let each bug bother you so much  ;)

ea1020

  • EA User
  • **
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Re: Azure Icons print with black background
« Reply #10 on: March 05, 2021, 04:12:37 pm »
A)  Cool; I'm glad EA has added icons for Azure
B)  On my screen, none of the icons show up.  I have the boxes, arrows and words.  But when I add the "Azure Example 2" model into my project, none of the icons are displayed.  I had a look at the diagram properties and the properties for one of the icons, but I don't see any obvious issues.  Any suggestions?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13404
  • Karma: +567/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Azure Icons print with black background
« Reply #11 on: March 05, 2021, 04:25:01 pm »
Did you import all of the icons first using the new model wizard?

Geert

ea1020

  • EA User
  • **
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Re: Azure Icons print with black background
« Reply #12 on: March 06, 2021, 03:19:41 am »
@Geert:

Did you import all of the icons first using the new model wizard?


Thanks Geert.  After I added the "Microsoft Azure icons and images" model to my project, all works correctly.