Skip to main content

ImageUploadParams also accept PDF ?

Comments

3 comments

  • Ido

    Hi Ray

     

    PDF is supported to be uploaded and transformed as a resource type of type "image", which is why "ImageUploadParams" supported uploading it correctly.

    You can see a full list of supported formats here

    If you want to upload other formats which are not media formats (like the pptx file) you would need to upload these as raw files which require the "RawUploadParams" method.

     

    0
  • Ray Rozowski

    Thanks @Ido Barnoam. In our application we upload images and PDF's only. So is it okay to continue to upload the PDF's via ImageUploadParams. We have not noticed any issues with it so far. We are able to download them as PDF's.

     

    So do you think it is okay for us to continue to use PDF's via ImageUploadParams ?

     

     

    0
  • Ido

    Hi Ray,

    If the current method works for you, then it's great and you can, of course, continue uploading the pdf as resource type "image" :)

     

    Raw files can't be transformed. So uploading the pdf as resource type "image" would also allow to transform them as well.

    0

Post is closed for comments.