structurizr / java

Structurizr for Java
https://docs.structurizr.com/java
Apache License 2.0
1.02k stars 290 forks source link

PlantUML exporter cannot decode images from AWS 2020 theme #360

Open ad737079 opened 5 days ago

ad737079 commented 5 days ago

Expected

Tags used from the Structurizr AWS 2020 theme should correctly render images when exporting using the 'plantuml' export format

Actual

Theme images are rendered as error message text:

(Cannot decode: https://static.structurizr.com/themes/amazon-web-services-2020.04.30/AWS-Cloud_light-bg@4x.png)

image

Steps to reproduce

  1. Navigate to https://structurizr.com/dsl
  2. Configure with example DSL (see below)
  3. Click 'Export (PlantUML)'
  4. Click 'Render'
workspace "Test" "A test" {
    model {
        u = person "User"
        ss = softwareSystem "Software System" {
            wa = container "Web Application"
            db = container "Database Schema" {
                tags "Amazon Web Services - Cloud"
            }
        }
    }

    views {
        properties {
            "generatr.site.exporter" "structurizr"
        }

        container ss "Diagram2" {
            include *
            autolayout lr
        }

        themes default https://static.structurizr.com/themes/amazon-web-services-2020.04.30/theme.json
    }
}

Version/build information

Latest

Severity

Minor

Priority

I have no budget and there's no rush, please fix this for free

More information

No response