-
Notifications
You must be signed in to change notification settings - Fork 236
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
Image flipped vertically #448
Comments
@Bogdancev can you help me? |
It seems that the attached PDF is 0 bytes. Also please include a small program that demonstrates the issue. |
Hi @HakanL I send you an example file: My code:
|
It looks like you just extract the byte array and then you're using a library called MagickImage for the image processing. My guess is that's where the issue is, it may not handle how PDF images are saved correctly. |
Hi @HakanL I have tried this file UVE 01.pdf as well, and it extracts all the images fine. I don't know if it's the way the PDF is saved. Can you debug the pdf (6.335.1 0034220637_tasacion.pdf) internally to see if anything indicates that the image is flipped vertically? Thanks a lot. |
It may be a different format inside the PDF. Unfortunately I don't have a set up to debug this, I'm not a developer on this project, but the source code is available so perhaps you can try to analyze it. But to my recollection this project doesn't analyze/read/parse the images, so it's my belief that it's not an issue with the PdfSharCore project. |
Hello @jafin @ststeiger @saikatguha @nils-a @HakanL @Bogdancev, I am extracting the images from a PDF, apparently in the PDF they are fine, but when I extract them they are returned vertically flipped.
I send you an example file:
6.335.1 0034220637_tasacion.pdf
Thanks a lot.
The text was updated successfully, but these errors were encountered: