From 881ad4b66273a8779205143f235fab855a2f7e13 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Fri, 8 Nov 2024 16:11:15 -0500 Subject: [PATCH] Use PNG instead of tiff. !$!@$! modern CUPS dropping literally decades of features. --- CHANGES | 2 +- src/include/print.printer.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index f88833b..3705b3e 100644 --- a/CHANGES +++ b/CHANGES @@ -53,7 +53,7 @@ v2.38 (Unreleased) [fix] PHP 8.1-related warnings [fix] Updated bug URLs. [fix] Deal with malformed feed requests - [fix] Use TIFF files when submitting print jobs + [fix] Use PNG files when submitting print jobs v2.37.1 (December 3, 2012) diff --git a/src/include/print.printer.php b/src/include/print.printer.php index 1fbaa5d..c27efa7 100644 --- a/src/include/print.printer.php +++ b/src/include/print.printer.php @@ -127,7 +127,7 @@ function photo_print_single($database, $single) { # generate sane filename $tmp_filename = tempnam($tmp_volume_path, "po.print."); unlink($tmp_filename); - $tmp_filename .= ".tiff"; + $tmp_filename .= ".png"; # set up processing if ($use_gm) {