Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Is not compatible file" #9

Open
diplomat17 opened this issue Aug 1, 2021 · 0 comments
Open

"Is not compatible file" #9

diplomat17 opened this issue Aug 1, 2021 · 0 comments

Comments

@diplomat17
Copy link

Hello.
I have some TIFF files over 200 mb.
I wanted to get data about the width and height of an images. But Google does not process files over 200 MB. The get.Width() and get.Height() request returns 0. For TIFF files less than 200 MB, I can get their sizes.

Fragment of code:

let fileId = file.getId();
let dims = Drive.Files.get(fileId, {supportsAllDrives: true}).imageMediaMetadata;
let width = dims.width;
let height = dims.height;`

I tried using your doResize () function but got this answer: "Is not compatible file"

Is it possible to solve this problem using your application? Or maybe there are some other ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant