Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resize without interpolation #362

Closed
srem1 opened this issue Jan 4, 2024 · 0 comments
Closed

Resize without interpolation #362

srem1 opened this issue Jan 4, 2024 · 0 comments

Comments

@srem1
Copy link

srem1 commented Jan 4, 2024

I write pixel game (PixelArt). I must put my small sprite to big texture.
I'cant found any function to resize without algorithms Bicubic or Nearest-Neighbor.

I need simple convert one pixel to 4 or 9 or 16 etc.

#define RESIZE_2x2    2
#define RESIZE_3x3    3
#define RESIZE_4x4    4

.....

@srem1 srem1 closed this as completed Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant