Can you please show me in the snippet where to add it? I couldn't understand 'before reading the input' and 'after resize, set the density back to 72 (dpi)'.
$imagick->readImage($path);
$imagick->Imagick::setImageResolution( 600, 600 ) // as far as I understand, this is at the right place ...
Search found 3 matches
- 2018-01-28T13:17:41-07:00
- Forum: IMagick
- Topic: Making a colorful pdf fax-friendly
- Replies: 7
- Views: 23622
- 2018-01-28T12:33:13-07:00
- Forum: IMagick
- Topic: Making a colorful pdf fax-friendly
- Replies: 7
- Views: 23622
Re: Making a colorful pdf fax-friendly
Yes, I saw your answer on StackOverflow, and all your answers were very helpful, however;
$imagick->readImage($path);
$imagick->Imagick::setImageResolution( 600, 600 )
$imagick->resizeImage(595, 842, \Imagick::FILTER_CATROM, 1, true);
If I try `$imagick->Imagick::setImageResolution( 600 ...
$imagick->readImage($path);
$imagick->Imagick::setImageResolution( 600, 600 )
$imagick->resizeImage(595, 842, \Imagick::FILTER_CATROM, 1, true);
If I try `$imagick->Imagick::setImageResolution( 600 ...
- 2018-01-28T12:04:24-07:00
- Forum: IMagick
- Topic: Making a colorful pdf fax-friendly
- Replies: 7
- Views: 23622
Making a colorful pdf fax-friendly
I am trying to make a colorful pdf fax-friendly (convert to gray-scale and make the size A4). How Twilio does it for fax is very impressive, and ultimately I am trying to achieve it.
This is the original pdf, ie my input.pdf (please notice that resolution is 120x120):
https://drive.google.com/open ...
This is the original pdf, ie my input.pdf (please notice that resolution is 120x120):
https://drive.google.com/open ...