php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #74430 PDF (Microsoft: Print To PDF) to JPG create an withe empty file
Submitted: 2017-04-13 09:31 UTC Modified: 2017-04-23 04:22 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: daniel at se-medien dot de Assigned:
Status: No Feedback Package: imagick (PECL)
PHP Version: 7.0.17 OS: Debian 8.7
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: daniel at se-medien dot de
New email:
PHP Version: OS:

 

 [2017-04-13 09:31 UTC] daniel at se-medien dot de
Description:
------------
 $imagick = new Imagick();
			$imagick->setResolution(300,300);
			$imagick->readImage('170412_Customer Care Agent_final.pdf');
			#$imagick->scaleImage(730, 0);
			#$imagick->resetIterator();
			$combined = $imagick->appendImages(true);
			$combined->setImageFormat("jpg");
			$combined->setImageCompressionQuality(100);
			$combined->writeImage("xx3.jpg");

Test script:
---------------
 $imagick = new Imagick();
			$imagick->setResolution(300,300);
			$imagick->readImage('170412_Customer Care Agent_final.pdf');
			#$imagick->scaleImage(730, 0);
			#$imagick->resetIterator();
			$combined = $imagick->appendImages(true);
			$combined->setImageFormat("jpg");
			$combined->setImageCompressionQuality(100);
			$combined->writeImage("xx3.jpg");

Expected result:
----------------
xx3.jpg is white


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-04-15 03:35 UTC] danack@php.net
-Status: Open +Status: Feedback
 [2017-04-15 03:35 UTC] danack@php.net
Please can you actually describe the problem, and put an example PDF somewhere.
 [2017-04-21 15:24 UTC] alaw at vt dot edu
We have noticed a similar problem and have reported it on https://github.com/VTUL/vtechworks/issues/492. Sample files are linked from that report.
 [2017-04-23 04:22 UTC] pecl-dev at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 18:01:28 2024 UTC