printing full resolution images

M

Matt McLean

Hello,

I am trying to print high resolution images from within internet explorer
6.0
The issue is of course that these high resolution images are very large in
the browser (span more than on page vertically and horizontally). Large
enough that change from portait to landscape views is not sufficient.

Instead I would like to scale the image to 'fit to page' while printing.
It would seem that IE will not let me do this.

I can resize the image using simple heigh/width attributes or style
filters such that it displays on screen smaller, however when printing
this does not maintain the high resolution aspects of the image... it
prints at the quality displayed on the screen.

My next approach is to write a windows forms component that can be
embedded as a classic activeX would in be in IE. I would like to know if
there are any libraries within the framework that can be utilized to allow
me print an image scaled to fit to a page at full resolution. If anyone
can point me towards some resources for this sort of thing I would be very
greatful.

Thanks,
Matt
 
R

RockinFewl

Matt said:
Hello,

I am trying to print high resolution images from within internet
explorer 6.0
The issue is of course that these high resolution images are very large
in the browser (span more than on page vertically and horizontally).
Large enough that change from portait to landscape views is not
sufficient.

Instead I would like to scale the image to 'fit to page' while
printing. It would seem that IE will not let me do this.

I can resize the image using simple heigh/width attributes or style
filters such that it displays on screen smaller, however when printing
this does not maintain the high resolution aspects of the image... it
prints at the quality displayed on the screen.

My next approach is to write a windows forms component that can be
embedded as a classic activeX would in be in IE. I would like to know
if there are any libraries within the framework that can be utilized to
allow me print an image scaled to fit to a page at full resolution. If
anyone can point me towards some resources for this sort of thing I
would be very greatful.

Thanks,
Matt

I don't want to ruin this opportunity to look more into GDI+, but can't
you use relative values for the width/height attributes? 'Has always
worked for me.
For instance:

<img src="test.jpg" style="width:100%" />

... will print the JPG page-wide whatever the picture's resolution is,
and also preserves the aspect ratio.

R.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top