|
From: Gus G. <ag...@gr...> - 2006-07-26 23:23:09
|
What does he mean by DPI? I didn't know BMP stored DPI information. Is the file resized? DPI (Dots Per Inch) is just a label. The real question is: is the image dimension being changed? Is this on purpose? If the image has x pixels by y pixels on entry and it has the same x pixels by y pixels on exit, nothing changed. If the "DPI" he speaks of is different, just change it back what whatever is needed. As I said, it's just a label with no bearing on the actual data. Now, if the image has a smaller x by y pixels on exit, than he is resizing it and the result is what should be expected. g On Jul 26, 2006, at 12:53 PM, Maxim Shemanarev wrote: >> 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 > _______________________________________________ > Vector-agg-general mailing list > Vec...@li... > https://lists.sourceforge.net/lists/listinfo/vector-agg-general |