diff --git a/src/png.c b/src/png.c index 8eee7c7..23ff489 100755 --- a/src/png.c +++ b/src/png.c @@ -99,31 +99,21 @@ void write_png(FILE *file, void *image, int width, int height, flam3_img_comment PNG_COMPRESSION_TYPE_BASE, PNG_FILTER_TYPE_BASE); - /* Swap the bytes if we're doing 16bpc and on little-endian platform */ - if (2==bpc && testbe != htons(testbe)) { - unsigned short *im = (unsigned short *)image; - for (i=0; i