Skip to content

compress/decompress the truncated JPEG image#61

Open
zuoerfeng wants to merge 1 commit intogoogle:masterfrom
zuoerfeng:master
Open

compress/decompress the truncated JPEG image#61
zuoerfeng wants to merge 1 commit intogoogle:masterfrom
zuoerfeng:master

Conversation

@zuoerfeng
Copy link

pull request: add the function: compress/decompress the truncated JPEG image

what is truncated JPEG image?
A:if there is a large jpeg image, it need to stored in two place, so it's truncated into two parts. First part has jpeg header, the second does not. The first part is called truncated JPEG image.

Main steps:

  1. find truncated point in read jpeg step
  2. add ExternalSection Tag to save the field metadata of the truncated point in brunsli encode step
  3. playback the truncated point when decompress brn
  4. fill the tail data into jpeg data in write jpeg step

@googlebot
Copy link

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants