Discussion:
Printing images to a target size
Eric Arrigo
2010-10-31 16:50:29 UTC
Permalink
Hi,

In order to feed some "original looking" (a.k.a. non standard size)
photo frames (old fashion ones, not "digital electronic frames") with
digital pictures, I need to print them on paper at various size.

The only way I found out to do that is (please don't laugh :o) ):
- Print a black square images (something like 32000x32000 pixels at
full page using the windows xp print image feature (with the option
that doesn't crop the image)
- Measure the size of the result on the printer I am using
- Compute how many white pixels I must add on edges of the picture I
want to print so it will have the correct size
- Use "convert -append" to build this image and print it...

While it is actually working very well, it is really a pain...

Could someone give me a better solution for doing this?
(ideally, I'd like to just set the DPI resolution of the picture using
convert, and have my image printed at the right size (it would also
been nice to be able to print many images on the same page since I
sometime need picture of 60mm x 60mm).

Thanks in advance for any hint,
Eric
David N. Lombard
2010-10-31 18:12:40 UTC
Permalink
Post by Eric Arrigo
Hi,
In order to feed some "original looking" (a.k.a. non standard size)
photo frames (old fashion ones, not "digital electronic frames") with
digital pictures, I need to print them on paper at various size.
- Print a black square images (something like 32000x32000 pixels at
full page using the windows xp print image feature (with the option
that doesn't crop the image)
Did you try adding a white rectangle at the proper page size (e.g.,
PPI*page_size) behind the actual image? It may work if Winders sees the
white as part of the image and doesn't try to "help" you. I did a
similar trick, but with a non-white background color, to allow my wife
to print product labels for her small business. The background ensured
the labels were printed at exactly the expected size and were able to
tolerate small misalignments of the label stock in the printer.

I use GIMP on Linux (there's a Windows version too) to print images at
exactly the size I want at exactly the location on the page I want. If
the above trick doesn't work, you could try GIMP at
http://www.gimp.org/windows/.
--
dnl
Anthony Thyssen
2010-11-01 04:07:24 UTC
Permalink
On Sun, 31 Oct 2010 17:50:29 +0100
magick-users-***@imagemagick.org wrote:
| Hi,
|
| In order to feed some "original looking" (a.k.a. non standard size)
| photo frames (old fashion ones, not "digital electronic frames") with
| digital pictures, I need to print them on paper at various size.
|
| The only way I found out to do that is (please don't laugh :o) ):
| - Print a black square images (something like 32000x32000 pixels at
| full page using the windows xp print image feature (with the option
| that doesn't crop the image)
| - Measure the size of the result on the printer I am using
| - Compute how many white pixels I must add on edges of the picture I
| want to print so it will have the correct size
| - Use "convert -append" to build this image and print it...
|
| While it is actually working very well, it is really a pain...
|
| Could someone give me a better solution for doing this?
| (ideally, I'd like to just set the DPI resolution of the picture using
| convert, and have my image printed at the right size (it would also
| been nice to be able to print many images on the same page since I
| sometime need picture of 60mm x 60mm).
|
| Thanks in advance for any hint

if you know how many pixels you need in total you could use -extent
with appropriate -gravity and -background setings


Anthony Thyssen ( System Programmer ) <***@griffith.edu.au>
--------------------------------------------------------------------------
"In the beginning, the Giver of Data (GOD) generated silicon and carbon,
and the system without architecture, and un-initialized, and randomness
was upon the arrangement of the matrix... " -- The Binary Bible
--------------------------------------------------------------------------
Anthony's Castle http://www.cit.griffith.edu.au/~anthony/

Loading...