Search found 2 matches

by bhemph
Wed Nov 09, 2022 10:59 pm
Forum: General discussions
Topic: CreateGdPictureImageFromFile returning 0, ability to get more detail on UnknownImageFormat status
Replies: 2
Views: 5393

Re: CreateGdPictureImageFromFile returning 0, ability to get more detail on UnknownImageFormat status

Hugo, Yes, as I said the PDF files go to a different function. This function only receives the TIFF files. Also sending you the files will do no good in replicating anything because as I said, the file conversion is successful when I get the files and run them through the code manually. I updated to...
by bhemph
Fri Sep 23, 2022 2:37 am
Forum: General discussions
Topic: CreateGdPictureImageFromFile returning 0, ability to get more detail on UnknownImageFormat status
Replies: 2
Views: 5393

CreateGdPictureImageFromFile returning 0, ability to get more detail on UnknownImageFormat status

I have an application that is retrieving an image or pdf from an API. Once the file is saved, the file type is checked and the desired action is to have a jpeg thumbnail and the file is a tiff it calls the following code: public static int ConvertTiffToJpeg(string fileName, int maxpagenum = 9999) { ...