mirror of
https://github.com/nothings/stb.git
synced 2026-03-06 08:17:05 +00:00
Starting to implement downsampling.
This commit is contained in:
@@ -39,8 +39,8 @@ int main(int argc, char** argv)
|
||||
return 1;
|
||||
}
|
||||
|
||||
out_w = 1024;
|
||||
out_h = 1024;
|
||||
out_w = 256;
|
||||
out_h = 256;
|
||||
out_stride = (out_w + 10) * n;
|
||||
|
||||
output_data = (unsigned char*)malloc(out_stride * out_h);
|
||||
|
||||
Reference in New Issue
Block a user