HI
we purchased PRO PDF pack when we tested it with file size more than 100MB we got this response -
The page was not displayed because the request entity is too large.
For purchased PRO PDF, file size is 100 MB+ as per your documentation.
I tried with 57MB file but still getting the same response.
this issue is been escalated to support team but got no response.
here is the code I used for OCR process( work is in c#)
MultipartFormDataContent form = new MultipartFormDataContent();
form.Add(new StringContent("<<API_KEY>>"), "apikey");
form.Add(new StringContent(getSelectedLanguage()), "language");
if (string.IsNullOrEmpty(ImagePath) == false)
{
byte[] imageData = File.ReadAllBytes(ImagePath);
form.Add(new ByteArrayContent(imageData, 0, imageData.Length), "image", "image.jpg");
}
else if (string.IsNullOrEmpty(PdfPath) == false)
{
byte[] imageData = File.ReadAllBytes(PdfPath);
form.Add(new ByteArrayContent(imageData, 0, imageData.Length), "PDF", "pdf.pdf");
}
HttpResponseMessage response = await httpClient.PostAsync("https://apix.ocr.space/parse/image", form);
string strContent = await response.Content.ReadAsStringAsync();