php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #45753 Pslib cannot load image of type jpg, eps, or png
Submitted: 2008-08-08 05:28 UTC Modified: 2008-08-08 07:34 UTC
From: chris dot moore at visualunlimited dot net Assigned:
Status: Not a bug Package: GD related
PHP Version: 5.2.6 OS: Windows XP
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: chris dot moore at visualunlimited dot net
New email:
PHP Version: OS:

 

 [2008-08-08 05:28 UTC] chris dot moore at visualunlimited dot net
Description:
------------
I'm trying to build a virtual printer device for a project I'm working on. I'm using a post script driver to report to port 9100. From there I'm doing many things to the document. one of these things I'm doing is actually adding an image to the document. the php install is on the client machine the os is XP pro. it seems like the standard pslibs arent built with support for images reguardless if imagemagick.dll and gd2.dll are there.. is this a bug or am I using the wrong copy of php_ps.dll ? if it is a wrong copy, can you point me to a pre compiled copy that would work? or something ?




Reproduce code:
---------------
$img = ps_open_image_file($ps,"jpg",$fonts_dir."\ad\emogirl01.jpg");
ps_place_image($ps,$img,100,100,1.0);

Expected result:
----------------
Fatal error: ps_open_image_file(): PSlib error: Images of type 'jpg' not supported. in <filename>


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-08-08 07:34 UTC] pajoye@php.net
Please report bugs to http://pecl.php.net/ps
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 15 01:01:35 2025 UTC