Searched refs:ICO (Results 1 - 3 of 3) sorted by relevance

/haiku/src/add-ons/translators/ico/
H A DICOTranslator.cpp17 #include "ICO.h"
113 if (ICO::identify(ioExtension, *stream, type, bitsPerPixel) != B_OK)
121 type == ICO::kTypeIcon ? B_TRANSLATE("Icon") : B_TRANSLATE("Cursor"),
152 return ICO::convert_bits_to_ico(ioExtension, *source, bitsHeader, *target);
161 return ICO::convert_ico_to_bits(ioExtension, *source, *target);
173 if (!ICO::is_valid_size((int)width) || !ICO::is_valid_size((int)height))
H A DICO.h16 namespace ICO { namespace
18 // All ICO structures are written in little endian format
70 // More or less accidently, ICO colors are in the same format as
92 } // namespace ICO
H A DICO.cpp8 #include "ICO.h"
26 using namespace ICO;
406 // (ICO data is upside down, so we're starting at the last line)
492 ICO::is_valid_size(int32 size)
499 ICO::identify(BMessage *settings, BPositionIO &stream, uint8 &type, int32 &bitsPerPixel)
568 /** Converts an ICO image of any type into a B_RGBA32 B_TRANSLATOR_BITMAP.
572 ICO::convert_ico_to_bits(BMessage *settings, BPositionIO &source, BPositionIO &target)
624 // This is a work-around for a broken ICO file writer that publishes
648 // clear alpha channel (it's not used in ICO color information)
662 ICO
[all...]

Completed in 80 milliseconds