Open zchrissirhcz opened 4 years ago
Since .bmp files can't be uploaded here, the tested cat_224.bmp
image is in the tar.gz file, please extract from it:
cat_224.bmp.tar.gz
We have a basically total rewrite of this library about 90% complete, and this issue should be fixed by that rewrite. I don't know when it will be released, though.
@nothings Hi, how is the rewriting going? We very like stb image's simple interface and would like to know the plan (e.g. load image, resize image, timeline, etc) if possible. Hope we can use new stb image soon.
I still don't know. The rewrite is being done by Jeff Roberts, who wrote stb_sprintf, and he has a full time job running RAD Game Tools, so I don't know what progress he's made lately.
when calling
stbir_resize_uint8
, with target image size the same as the source image size, does it guarantee generate the exactly same result as the source image pixels? Based on my test result, it is not the same pixels. So sad result.main.c
:cat_224.bmp
is 224*224*3 size:got result: