Closed GoogleCodeExporter closed 9 years ago
RotateNearestNeighbor image processing routine is extended to support 16 bpp
grayscale images and 48 bpp color images.
Committed in revision 1534. Will be released in version 2.2.0.
P.S. few issues were fixed in the suggested patch. Please, have a look.
1) pixel size was calculated wrong - stride is not always related to image
width and can be more than <width>*<bpp>;
2) grayscale version seem to be not tested:
*dst = src[oy * srcStride + ox];
if src is ushort*, then indexing is wrong, because srcStride gives number of
bytes - not width. Try your version on 16bpp gray image -
AccessViolationException.
Original comment by andrew.k...@gmail.com
on 27 Jun 2011 at 9:42
Original comment by andrew.k...@gmail.com
on 28 Jul 2011 at 9:49
Original comment by andrew.k...@gmail.com
on 10 Aug 2011 at 9:39
Original issue reported on code.google.com by
yvan.rod...@gmail.com
on 21 Jun 2011 at 6:32Attachments: