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(olv): correct stamp pixel format and work buffer size
Three fixes from Cafe SDK manual:
1. Transparent pixels must be (255,255,255,0) not (0,0,0,0).
AddStampData validates every pixel is one of: black (0,0,0,255),
white (255,255,255,255), or transparent (255,255,255,0). Our previous
transparent value (0,0,0,0) is not in this set → ResultInvalidFormat.
2. Work buffer increased to 1 MB (POST_APP_PARAM_WORK_BUFF_SIZE).
Previous 512 KB was below the required minimum.
3. Image descriptor kept at 0x08 (8 alpha bits, bottom-left) — confirmed
correct from SDK example TGA header: 00 00 02 ... 20 08.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>