Sign in to follow this  
cebugdev

Resize an image buffer -Fixed point(16bit)

Recommended Posts

Evil Steve    2017
What API? What do you mean "resize" it? Just reallocate the array holding the values? Do you want to stretch the existing image or something, fill the new memory with a certain value, or just copy the existing image into the top left? Are you sizing up or down?

Share this post


Link to post
Share on other sites
cebugdev    635
perhaps the term is SCALE.
for example i have an RGB image with dimensions of 126x20 and i want to resize to new dimension 640x480. im looking for a fixed point formula on resize.
i want the function to support resize up or down.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this