Skip to content
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.

Can I read *.lep files directly into pixels array? #74

Open
xpol opened this issue Oct 7, 2016 · 1 comment
Open

Can I read *.lep files directly into pixels array? #74

xpol opened this issue Oct 7, 2016 · 1 comment

Comments

@xpol
Copy link

xpol commented Oct 7, 2016

Can I read *.lep files directly into pixels array without restore them back to jpg files? Any examples?

@danielrh
Copy link
Contributor

Excellent question. During decode, we do keep 2 rows of a framebuffer in memory and fill them with data. And we take each channel into pixel space to predict the DC. It wouldn't be hard to persist the pixel-space values beyond the two rows into a whole framebuffer. Then, the end portion with the JPEG recode could be lopped off without too much trouble. This wouldn't be a huge change, actually--but it would require some code

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants