SwissAS / jcgm-core

An open source Java implementation to interpret and render Computer Graphics Metafile (CGM) graphics files.
Other
8 stars 6 forks source link

Support of webcgm #12

Closed andrlange closed 1 month ago

andrlange commented 1 month ago

I am not sure about the complexity, but it would be great if jcgm-core also supports webcgm formats so you can easily convert cgm and webcgm to svg for using cgm and webcgm in browsers.

daviddiana11 commented 1 month ago

Hi @andrlange, jcgm is already capable of displaying the "graphical part" of webCGM images, but indeed, does not support the "interaction" layer like hyperlinks. There is no plan to support this in the near future. If you are motivated to implement new features feel free to open pull requests; we'll review it 👍

andrlange commented 1 month ago

I have tried this with CGM Files from our vendors but they are not decoding correctly.

Painting command: Unsupported - BeginApplicationStructure [applicationStructureIdentifier='IsoL1', applicationStructureType='layer', inheritanceFlag=false] id:21 2024-09-17T08:44:11.507+02:00 INFO 75936 --- [frontend] [nio-8080-exec-9] de.tddsgmbh.frontend.utils.CGM4SVG : Painting command: Unsupported - ApplicationStructureAttribute [applicationStructureAttributeType='layername', sdr=StructuredDataRecord [members=[[type=SF, count=1, data=[Standardebene]]]]] id:1