You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: use linesize stride when annotating text on padded images
Image buffers use a 32-byte-aligned linesize stride, but Image::Annotate
walked rows using width. When width*bytesPerPixel is not a multiple of 32
(e.g. 848x480 grayscale/rgb24) linesize exceeds width, so each glyph row
drifted horizontally and the timestamp text appeared distorted. Use
linesize for the row stride in all three pixel-format branches (rgb32
stride is linesize/4 since the pointer is Rgb*).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments