-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Converting MCIDAS to PDF results in empty file #3351
Comments
If I run your code, the PDF is a white image 1,800 by 400. However, this is also what I get if I from PIL import Image
ara = Image.open("cmx3g8_wv_1998.260_0745_mcidas.ara")
ara.show() I presume that you think the image is not just a while rectangle? What program are you using to view the original file? |
I viewed it by converting it to a PNG and then opening the resulting file in Apple's Preview app from PIL import Image
ara = Image.open("cmx3g8_wv_1998.260_0745_mcidas.ara")
ara.save("output.png") |
I think this is related to #3159 |
I've created PR #3838 to resolve this. |
Resolved by #3838 |
It turns out that this situation is more complicated. See #3838 (comment) |
Closing, as part of #3159 |
What did you do?
Converted MCIDAS .ara-file to PDF
What did you expect to happen?
A PDF would be created with content similar to the source
What actually happened?
An empty PDF was created
What versions of Pillow and Python are you using?
Pillow 5.2.0 and Python 2.7.15
The tested file
The text was updated successfully, but these errors were encountered: