hi everyone,
im using PDFLib Version 4.0.2. If I try opening gif files by using the pdflib function 'pdf_open_image_file' some gifs can't be opened although the path of all gifs is the same. I guess, that something is wrong with these gifs but can't find out!!!
Please help me out - im frustrated after spending a hole day finding a solution!!
many greetings
ybi
pdflib - problem with opening gifs
Moderator: General Moderators
Still without knowing why this "gif error" occurs, I just converted all my gifs to jpeg (more then 2000!!!) and now it works
first I used:
now I use:
But I'm still wondering what's the reason for this strange behaviour of that function.
many greetings
ybi
first I used:
Code: Select all
<?php
// $pdf_resource is a reference to a pdf document I've created
// gif is the file type to open
// $filename is the path and the filename of the image I want to open
php_open_image_file($pdf_resource,'gif',$filename);
?>Code: Select all
<?php
// with file type jpg everything is fine!!!
php_open_image_file($pdf_resource,'jpg',$filename);
?>many greetings
ybi