Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libheif_info: Extended the returning results #189

Merged
merged 1 commit into from
Dec 26, 2023
Merged

Conversation

bigcat88
Copy link
Owner

Ref: #154

Changes proposed in this pull request:

  • libheif_info now returns additionally encoders and decoders keys

This PR raises minimum libheif version to the 1.15.0

This will allow to get the required decoder_id and pass it to image.load() or something like that in future to use selected decoder/encoder for the operation.

{
       'libheif': '1.15.2',
       'HEIF': 'x265 HEVC encoder (3.4+31-6722fce1f)',
       'AVIF': 'AOMedia Project AV1 Encoder 3.7.0',
       'encoders': {
           'x265': 'x265 HEVC encoder (3.4+31-6722fce1f)',
           'aom': 'AOMedia Project AV1 Encoder v3.7.0',
           'mask': 'mask'
       },
       'decoders': {
           'libde265': 'libde265 HEVC decoder, version 1.0.12',
           'aom': 'AOMedia Project AV1 Decoder v3.7.0'
       }
}

Signed-off-by: Alexander Piskun <[email protected]>
@bigcat88 bigcat88 added the enhancement New feature or request label Dec 26, 2023
@bigcat88 bigcat88 changed the title Extended the libheif_info function results libheif_info: Extended the returning results Dec 26, 2023
Copy link

codecov bot commented Dec 26, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (f17d541) 100.00% compared to head (5edde21) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #189   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           10        10           
  Lines          906       907    +1     
=========================================
+ Hits           906       907    +1     
Files Coverage Δ
pillow_heif/_lib_info.py 100.00% <100.00%> (ø)
pillow_heif/_version.py 100.00% <100.00%> (ø)
pillow_heif/as_plugin.py 100.00% <100.00%> (ø)
pillow_heif/heif.py 100.00% <100.00%> (ø)

@bigcat88 bigcat88 merged commit 6de326f into master Dec 26, 2023
27 checks passed
@bigcat88 bigcat88 deleted the ens-dec-list branch December 26, 2023 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant