Book a Demo

Author Topic: UML Profile Alternate Image Issue  (Read 3801 times)

anton

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
UML Profile Alternate Image Issue
« on: February 28, 2012, 06:10:42 am »
UML Profile Alternate Image option doesn’t work.

I create new Profile and associate alternate images to new stereotype. When I try to import new profile into Sparx projects, all is fine but the images are not shown.

I inspected the profile definition file in XML. It contains the Image element (like below), however there is no reference to the image file itself. Please let me know how fix this.

<Image type="Bitmap" xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="bin.base64"></Image>

Thank you,
Anton

anton

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: UML Profile Alternate Image Issue
« Reply #1 on: February 28, 2012, 10:22:32 am »
I initially used jpeg as a format of alternate image. I found the workaround which is to use EMF. This way the image binary injected into profile.xml directly.

kepNCI

  • EA User
  • **
  • Posts: 127
  • Karma: +1/-0
    • View Profile
Re: UML Profile Alternate Image Issue
« Reply #2 on: April 05, 2012, 04:04:20 am »
That is all you did you fix it?  
In my profile I used emf and jpg files. The emf images were imported from SPARX image reference xml. Neither are being displayed in the new project.