Skip to content

Can this support make png file which has transparent alpha to a transparent pdf file #249

Closed
@jonny77

Description

@jonny77

require DIR . '/vendor/autoload.php';
use Jcupitt\Vips;

$image = Vips\Image::newFromFile('./images/demo.png', ['access' => 'sequential']);

$image->writeToFile('./aa.pdf', [
//'format' => 'pdf'
]);
not working and got error
VipsForeignSave: "./aa.pdf" is not a known file format

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions