U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » How to set the dpi (dots per inch) of an image
Re: How to set the dpi (dots per inch) of an image [message #28756 is a reply to message #28754] Wed, 15 September 2010 15:02 Go to previous messageGo to previous message
koldo is currently offline  koldo
Messages: 3458
Registered: August 2008
Senior Veteran
Hello Mirek

In addition to the previous changes, these files have also been changed.

In plugin/bmp
bmpwrite.cpp and bmp.h
void PNGEncoder::Start(Size sz, Size dots)

In plugin/gif
gifupp.cpp and gif.h
class GifEncode::Data
bool GIFRaster::Data::Create()
void GifEncode::Data::Start(Size sz, Size dots, bool ignore_alpha, String comment, const RGBA *palette);
void GIFEncoder::Start(Size sz, Size dots)

In plugin/jpg
jpgupp.cpp and jpg.h
class JPGEncoder::Data
void JPGEncoder::Data::Start(Stream& stream, Size size, Size dots, int quality);
void JPGEncoder::Start(Size sz, Size dots)

In plugin/tif
tifupp.cpp and tif.h
class TIFEncoder::Data
void TIFEncoder::Data::Start(Size size, Size dots, int bpp, const RGBA *palette);
void TIFEncoder::Start(Size sz, Size dots)

It is enclosed a file with all changes.
  • Attachment: changes.7z
    (Size: 28.00KB, Downloaded 371 times)


Best regards
IƱaki
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Icon at right side of the menuBar
Next Topic: GetExifThumbnail doc
Goto Forum:
  


Current Time: Sun Apr 26 17:37:33 GMT+2 2026

Total time taken to generate the page: 0.00882 seconds