Trans.: Re: How to use "density" parameters

[email protected]
Newsgroups gmane.comp.video.image-magick.devel
Message-ID <[email protected]>

----- Message transféré de [email protected] -----
   Date : Mon, 29 Oct 2007 09:30:01 +0100
     De : [email protected]
Adresse de retour :[email protected]
  Sujet : Re: [magick-developers] How to use "density" parameters
      À : Glenn Randers-Pehrson <[email protected]>

Selon Glenn Randers-Pehrson <[email protected]>:

> 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é -----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.