Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

atoudam's avatar
atoudam
Explorer | Level 3
8 years ago
Solved

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.

7 Replies

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    8 years ago
    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
    8 years ago
    thanks for the quick response Greg, that would be a great feature to have.
  • Quas94's avatar
    Quas94
    Explorer | Level 3
    7 years ago

    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
    7 years ago

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

  • MosheS's avatar
    MosheS
    New member | Level 2
    3 years ago

    Any news in 2023?

    This is a very important issue for us!

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

    lol you should probably just abandon hope that this will happen. we moved our app from the dropbox back end and over to s3 / AWS much more flexible of a product

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

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, Facebook or Instagram.

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!