|
From: Analist <in...@an...> - 2006-07-26 20:34:19
|
Thanxs for the attention,
FitToImageSize(m_dImageWidht,m_dImageHeight);
Stretch the image to fit a rectangle into the center of the screen.
I suppose the resampling is the cause of the loose of dpi, right?
If yes how is possible to retain the original resolution?
Sorry for my question but I am starting now to understand a little of Agg.
Regards
Antonio
"Maxim Shemanarev" <mcs...@ya...> ha scritto nel messaggio
news:200...@we......
>> FitToImageSize(m_dImageWidht,m_dImageHeight);
>
> What does it do?
>
>> 3) I process it with:
>
> [. . .]
> It also can change the size.
>
>> 3) I save the buffer with : m_pmap_window.save_as_bmp
>> 4) The resulting image is 72 dpi
>
> You load, resize/resample, and the save, right? So, I suppose you get what
> you
> should expect.
>
> McSeem
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
|