Can I read *.lep files directly into pixels array? · Issue #74 · dropbox/lepton · GitHub
Skip to content
This repository was archived by the owner on Feb 14, 2023. It is now read-only.
This repository was archived by the owner on Feb 14, 2023. It is now read-only.

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

Open

Description

@xpol

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

Activity

  1. danielrh commented on Oct 10, 2016

    @danielrh
    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 join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions