Hi everyone,
I’m trying to use drawj2d to generate .rmdoc files for the reMarkable tablet, specifically to create sticker-like elements with a white filled shape (like white boxes or white widgets).
Everything works except one issue:
❗ Problem
Whenever my PNG contains solid white areas (#FFFFFF), drawj2d renders those areas as either:
completely transparent
or extremely faint / washed-out
even when the PNG has no transparency (alpha channel fully removed).
Grey or dark lines render correctly.
Only white regions behave as if drawj2d treats “white” as “no ink”.
**�What I already tested
**
PNG exported with opaque white background (rectangular white layer behind artwork)
Removed alpha channel completely using external tools
Tried off-white greys (#F2F2F2, #EDEDED, etc.) → still very faint
Tried high resolution in HCL command:
The .rmdoc builds correctly, but the white areas do not appear on the tablet.
❓ My question
Is this expected behavior?
Does drawj2d intentionally treat pure white as “empty stroke” in PNGs when generating .rmdoc output?
If so:
👉 Is there a recommended workaround to achieve a solid-looking white fill on reMarkable?
(ex. specific grey level, dithering trick, preprocessing step, etc.)
If not:
👉 What conditions must a PNG meet so that drawj2d renders white as an actual visible fill?
I can provide PNG, HCL, and the generated .rmdoc if needed.
Thanks to anyone who can shed light on this — this is the last technical obstacle I’m stuck on.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi everyone,
I’m trying to use drawj2d to generate .rmdoc files for the reMarkable tablet, specifically to create sticker-like elements with a white filled shape (like white boxes or white widgets).
Everything works except one issue:
❗ Problem
Whenever my PNG contains solid white areas (#FFFFFF), drawj2d renders those areas as either:
completely transparent
or extremely faint / washed-out
even when the PNG has no transparency (alpha channel fully removed).
Grey or dark lines render correctly.
Only white regions behave as if drawj2d treats “white” as “no ink”.
**�What I already tested
**
PNG exported with opaque white background (rectangular white layer behind artwork)
Removed alpha channel completely using external tools
Tried off-white greys (#F2F2F2, #EDEDED, etc.) → still very faint
Tried high resolution in HCL command:
image widget.png 400 0 0 1
Minimal HCL file:
pen 0.1
moveto 0 0
image widget.png 200 0 0 1
Command used:
./drawj2d -Trmdoc widget.hcl -o widget.rmdoc
The .rmdoc builds correctly, but the white areas do not appear on the tablet.
❓ My question
Is this expected behavior?
Does drawj2d intentionally treat pure white as “empty stroke” in PNGs when generating .rmdoc output?
If so:
👉 Is there a recommended workaround to achieve a solid-looking white fill on reMarkable?
(ex. specific grey level, dithering trick, preprocessing step, etc.)
If not:
👉 What conditions must a PNG meet so that drawj2d renders white as an actual visible fill?
I can provide PNG, HCL, and the generated .rmdoc if needed.
Thanks to anyone who can shed light on this — this is the last technical obstacle I’m stuck on.