Skip to content

Commit

Permalink
Delete this
Browse files Browse the repository at this point in the history
  • Loading branch information
joppuyo committed Jul 24, 2020
1 parent 9845cbb commit 35e659c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions color-space-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,7 @@ public function fix_color_space(Imagick $image, $path)
error_log("Color Space Fixer: Converting to sRGB");

$sRGB_icc = file_get_contents(__DIR__ . '/icc/sRGB2014.icc');
$image->setImageRenderingIntent(3);
$image->profileImage('icc', $sRGB_icc);
$image->setImageRenderingIntent(3);
$image->transformImageColorspace(Imagick::COLORSPACE_RGB);

error_log("Color Space Fixer: Writing image");
Expand Down

0 comments on commit 35e659c

Please sign in to comment.