|
From: Mikko M. <me...@in...> - 2006-07-28 03:53:28
|
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. I think you need to store the initial dpi value from the file you load, and the when saving use the same value. Most programs, such as PhotoShop treat images without dpi information as 72dpi image. --mikko |