Currently if I upload an image under webp type, the thumbnail is not generated.
Does we have any configuration to enable generating thumbnail for specific image type?
Should I create an A12 ticket to let dataservices support it?
Hi @tin-quantum-aspen,
I’m not a data services expert so I don’t know if we have a configuration to enable generating thumbnails for specific image types.
I do know that A12 currently supports thumbnails for the following image types: JPEG, PNG and GIF. The relevant Data services documentation for Attachment extension points is here and for the Attachment Rest API it is here
Currently it is not possible to change the format of thumbnails. All thumbnails are of format PNG and have extension .png I am not aware of any requirements to change that.
This answer is valid for DS version 30.1.0 - 34.2.0
Hi @tomas-thin-gale , the question about generating thumbnail for image has webp type.
Currently, if I upload image webp type, the thumbnail is not generated.
In DS we are using a 3rd party library net.coobird:thumbnailator:0.4.17 to create thumbnails. Their documentation on FAQ · coobird/thumbnailator Wiki · GitHub states that
By default, Java 6 and beyond support reading and writing of JPEG, PNG, GIF, BMP and WBMP formats; Java 5 did not support writing GIF files.
This means that we cannot support thumbnails for webp format until we migrate to a different thumbnail creation library. Please create a requirement ticket and we will take a look at the options
Thank you @tomas-thin-gale , I will create an A12 ticket to support generating thumbnail for webp type image