Skip to content

adapter.aasx: Add support for loading/saving thumbnails in AASX package - #436

Merged
zrgt merged 6 commits into
eclipse-basyx:developfrom
thammel:add/load-save-thumbnail
Dec 10, 2025
Merged

adapter.aasx: Add support for loading/saving thumbnails in AASX package#436
zrgt merged 6 commits into
eclipse-basyx:developfrom
thammel:add/load-save-thumbnail

Conversation

@thammel

@thammel thammel commented Nov 21, 2025

Copy link
Copy Markdown
Contributor

Previously, the AASXReader did not load the thumbnail in the read_into function, instead a separate function needed to be called. This behavior did also occur in AASXWriter with writing the thumbnail. This was unintuitive, as it required a separat call of the load/save function.

This PR implements the loading/storing of the thumbnail directly in the loading/storing of other supplementary files.

Fixes #435

…ackage

Previously, the `AASXReader` did not load the thumbnail in the `read_into` function, instead a separate function needed to be called. This behavior did also occur in `AASXWriter` with writing the thumbnail. This was unintuitive, as it required a separat call of the load/save function.

This PR implements the loading/storing of the thumbnail directly in the loading/storing of other supplementary files.

Fixes eclipse-basyx#435
Comment thread sdk/basyx/aas/adapter/aasx.py Outdated
Comment thread sdk/basyx/aas/adapter/aasx.py Outdated
Comment thread sdk/basyx/aas/adapter/aasx.py Outdated
@s-heppner

Copy link
Copy Markdown
Member

I took the liberty to add some small changes. Could you please fix the remaining issues? The static-analysis ones are simple "line too long" codestyle issues, the docs one should have a wrong path to the AssetInformation.default_thumbnail attribute in the docstring.

Comment thread sdk/basyx/aas/adapter/aasx.py Outdated
@zrgt
zrgt merged commit 562b967 into eclipse-basyx:develop Dec 10, 2025
15 checks passed
@thammel
thammel deleted the add/load-save-thumbnail branch December 18, 2025 09:14
@s-heppner s-heppner mentioned this pull request Jul 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants