archi icon indicating copy to clipboard operation
archi copied to clipboard

[Feature Request] Additional Image Formatting Controls

Open isalew opened this issue 1 year ago • 7 comments

Would like the following capabilities when assigning an image to an element:

  • Size Controls = Allow higher-resolution images to be used with scale controls for height, width, and overall scale (Perhaps like CSS, i.e. as % of container, % of original size, or just raw pixel width/height).
  • SVG Support = This would allow for high-fidelity images with low storage size that can present at any zoom scale.
  • Color Overlay = If using SVG, could allow "Icon Colour" to assign the stroke color value, but if using a simple flat PNG file, a color overlay would allow different images to be recolored.

isalew avatar Jun 21 '23 17:06 isalew

And per #877, might be good to have "template" settings so they present uniformly across elements, but also the ability to override values on specific element image references.

isalew avatar Jun 21 '23 17:06 isalew

Sorry, but SVG image support is not possible. See https://github.com/archimatetool/archi/issues/933

Phillipus avatar Jun 21 '23 18:06 Phillipus

is there anyway to simply drag and drop images from Desktop into the View.. this should just simply create the container and have the image added. the current way of adding an image is cumbersome. I suggest a generic Image object which can be treated similar to the Grouping or other aux objects .. many thanks

nileio avatar Jul 25 '23 11:07 nileio

is there anyway to simply drag and drop images from Desktop into the View

This is possible in canvas and it does create a generic image object. This type of object does not exist in ArchiMate views because the approach is a bit different: images are seen as properties of other objects (ArchiMate elements, notes and visual groups). In this context drag'n drop to an empty space wouldn't know what type of element to create.

jbsarrodie avatar Jul 25 '23 11:07 jbsarrodie

@Phillipus could this be reopened, not for SVG support, but for better size controls? Separating the size of the original image from the scale used to present it in a diagram would be a great help when using libraries of image files that may come in varying sizes.

isalew avatar Apr 04 '24 15:04 isalew

@Phillipus could this be reopened, not for SVG support, but for better size controls? Separating the size of the original image from the scale used to present it in a diagram would be a great help when using libraries of image files that may come in varying sizes.

I'll re-open it, but I won't be implementing it anytime soon as I'm working on other features. Please read this.

Phillipus avatar Apr 04 '24 15:04 Phillipus

@Phillipus I wish I knew Java to help! Very much appreciate the work you have planned to help keep this amazing resource running.

isalew avatar Apr 24 '24 00:04 isalew