Re: How to use "density" parameters
Glenn Randers-Pehrson <[email protected]>
| Newsgroups | gmane.comp.video.image-magick.devel |
|---|---|
| Message-ID | <[email protected]> |
>Date: Fri, 26 Oct 2007 15:22:29 -0400 >To: [email protected] >From: Glenn Randers-Pehrson <[email protected]> >Subject: Re: [magick-developers] How to use "density" parameters >Cc: [email protected]" <[email protected]> >In-Reply-To: <[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 > >>Is anyone here who know how parameterize this attribute??? > >See above