• Advertisement
Sign in to follow this  

Resize an image buffer -Fixed point(16bit)

This topic is 3945 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi, how can i resize an RGB image buffer with unsigned char* type, the catch is it sould be a fixed point and doesnt use floating point variable.

Share this post


Link to post
Share on other sites
Advertisement
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
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
Sign in to follow this  

  • Advertisement