Closed (fixed)
Project:
Media: Acquia DAM
Version:
2.0.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Mar 2022 at 22:06 UTC
Updated:
13 Nov 2024 at 18:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
linichalexey commentedComment #3
linichalexey commentedComment #5
linichalexey commentedAdded some fixes for file formats that do not have endpoints. And fixed tests.
Comment #6
alexey samsonov commentedAs I can see, there was a PR that removed an option to download assets with original format: https://git.drupalcode.org/project/media_acquiadam/-/commit/62cbac5fa6c1...
Probably we should get an explanation from maintainers what was the reason...
Comment #7
alexey samsonov commentedbtw, applied patch and can confirm that it works as expected. Images can now be downloaded in original format/size. I also tried to manually sync all previously downloaded images and all of them were updated with original format/size.
Thanks
Comment #8
barrett commentedThis should really be split into two issues. One, the conversion of image assets to PNG, was a deliberate choice made in the module. Adding an ability to control that would be a feature request. The other, the upsizing of assets, is a bug.
Comment #9
kevinquillen commentedI applied this patch and modified it to accept SVG extensions. While it appears to not rewrite it to PNG now, all that displays is the Widen.png logo for the thumbnail and on the page.
You need to install the ImageMagick module to leverage the ImageMagick image toolkit to make use of SVG in this case since GD does not support it. I did not realize that.
After that, SVGs from the DAM started appearing in the site without being converted to PNG.
Comment #10
barrett commented@japerry, @mglaman, I think this was resolved in the 2.0.1 release. Can you confirm?
Comment #11
japerryYup, sure was!