We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

Forum Discussion

atoudam's avatar
atoudam
Explorer | Level 3
7 years ago

PNG transparency in thumbnails

Hi

 

im using the Javascript API to grab a few thumbnails for images in my app folder

 

however wehn i grab the thumbnail for a png with transparency / alpha the transparent part shows as white in the thumbnail

 

this is the method i am using to get the thumbs

 

dbx.filesGetThumbnail({path:path,size:{['.tag']:'w640h480'},format:{['.tag']:'png'}})

 

the raw images do have transparency as i have check by replacing the line above with

 

dbx.filesDownload({path:path})

 

and i get all images corently with their transparency.

 

does the API method filesGetThumbnail support thumbs with transparency ?

or do i have a mistake in the above?

 

Thanks

Adam

 

 

  • The API doesn't support transparency in thumbnails unfortunately, but I'll pass this along as a feature request.
  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff
    The API doesn't support transparency in thumbnails unfortunately, but I'll pass this along as a feature request.
    • atoudam's avatar
      atoudam
      Explorer | Level 3
      thanks for the quick response Greg, that would be a great feature to have.
    • Quas94's avatar
      Quas94
      Explorer | Level 3

      Hi there, has there been any progress on this front? Would love to have this feature available. Thanks

      • TaylorKrusen's avatar
        TaylorKrusen
        Icon for Dropbox Staff rankDropbox Staff

        Thanks for checking in. Unfortunately, we have no new updates regarding this feature request. 

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,877 PostsLatest Activity: 12 months ago
325 Following

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!