Trans.: Re: [magick-developers] How to use "density" parameters
m.zewe at free.fr
m.zewe at free.fr
Mon Oct 29 01:31:23 PDT 2007
----- Message transféré de m.zewe at free.fr -----
Date : Mon, 29 Oct 2007 09:30:01 +0100
De : m.zewe at free.fr
Adresse de retour :m.zewe at free.fr
Sujet : Re: [magick-developers] How to use "density" parameters
À : Glenn Randers-Pehrson <glennrp at comcast.net>
Selon Glenn Randers-Pehrson <glennrp at comcast.net>:
> At 06:14 PM 10/26/2007 +0200, you wrote:
> >
> >
> >Hello,
> >
> >I want to print picture with high resolution. I know that the attribute
> linked
> >to the resolution is the "density" parameters. But my problem is that I
> don't
> >know
> >how I can use it...
> >
> >I try different way
> >image->set(density=>"200")
> >image->set(density=>"200x200") etc...
> >
> >But the effect done is that the pictures are smaller, so I have to multiply
> the
> >size of the items represented on these pictures...
>
> Yes, that is how "density" works.
>
> >I just want to reduce the
> >size of one picture pixel, not want to play with the size (i.e make zoom in
> and
> >zoom out to look better...)
>
> You are asking for a coordinated "density" and "resize" to obtain the
> same size picture with a different amount of pixels. That might be a
> useful feature.
>
> -newdensity "200"
> would achieve
> -resize (100*200/current_density%) -density 200
>
Thanks a lot for your helpfull responses...
But I don't understand how these parameters are coordinated...
Can you explain a little more...For example the value 200 in parameter of the
resize fonction is the new density value??? -newdensity "200" don't know what it
means...
May be a full example can be usefull...
I work with the interface PerlMagick, so it's a little harder to understand you
example...
Again, thanks...
> >Is anyone here who know how parameterize this attribute???
>
> See above
>
----- Fin du message transféré -----
More information about the Magick-developers
mailing list