Hi, all.
2012/1/28 gregor herrmann :
> On Fri, 27 Jan 2012 20:24:00 +0100, Jakub Wilk wrote:
>
>> >+#if PNG_LIBPNG_VER_MAJOR >= 1 && PNG_LIBPNG_VER_MINOR >= 4
>> >+ png_set_expand_gray_1_2_4_to_8(h->png);
>> >+#else
>> > png_set_gray_1_2_4_to_8(h->png);
>> >+#endif
>>
>> Won't that break wi
On Fri, 27 Jan 2012 20:24:00 +0100, Jakub Wilk wrote:
> >+#if PNG_LIBPNG_VER_MAJOR >= 1 && PNG_LIBPNG_VER_MINOR >= 4
> >+png_set_expand_gray_1_2_4_to_8(h->png);
> >+#else
> > png_set_gray_1_2_4_to_8(h->png);
> >+#endif
>
> Won't that break with libpng 2.0? I think it the condition should
* gregor herrmann , 2012-01-26, 21:57:
+#if PNG_LIBPNG_VER_MAJOR >= 1 && PNG_LIBPNG_VER_MINOR >= 4
+ png_set_expand_gray_1_2_4_to_8(h->png);
+#else
png_set_gray_1_2_4_to_8(h->png);
+#endif
Won't that break with libpng 2.0? I think it the condition should be
rather:
(PNG_LIBPNG_
3 matches
Mail list logo