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

Updated pillow, unlocked test #7100

Merged
merged 22 commits into from
Dec 28, 2023
Merged

Updated pillow, unlocked test #7100

merged 22 commits into from
Dec 28, 2023

Conversation

bsekachev
Copy link
Member

@bsekachev bsekachev commented Nov 6, 2023

Motivation and context

How has this been tested?

Checklist

  • I submit my changes into the develop branch
  • I have created a changelog fragment
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • I have linked related issues (see GitHub docs)
  • I have increased versions of npm packages if it is necessary
    (cvat-canvas,
    cvat-core,
    cvat-data and
    cvat-ui)

License

  • I submit my code changes under the same MIT License that covers the project.
    Feel free to contact the maintainers if that's a concern.

@bsekachev bsekachev changed the title Updated pillow, unlocked test [WIP] Updated pillow, unlocked test Nov 6, 2023
@bsekachev bsekachev changed the title [WIP] Updated pillow, unlocked test Updated pillow, unlocked test Nov 6, 2023
@@ -658,7 +658,7 @@ def save_as_chunk(self, images, chunk_path):
if has_exif_rotation(pil_image):
rot_image = ImageOps.exif_transpose(pil_image)
try:
if rot_image.format == 'TIFF':
if pil_image.format == 'TIFF':
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rot_image.format is None after exif_transpose
It results to jpeg image saved with .tif filename

@bsekachev bsekachev changed the title Updated pillow, unlocked test [WIP] Updated pillow, unlocked test Nov 6, 2023
@bsekachev bsekachev changed the title [WIP] Updated pillow, unlocked test Updated pillow, unlocked test Nov 23, 2023
@bsekachev bsekachev changed the title Updated pillow, unlocked test [wip] Updated pillow, unlocked test Nov 23, 2023
@bsekachev bsekachev changed the title [wip] Updated pillow, unlocked test [WIP] Updated pillow, unlocked test Dec 23, 2023
@bsekachev bsekachev changed the title [WIP] Updated pillow, unlocked test Updated pillow, unlocked test Dec 26, 2023
Copy link

codecov bot commented Dec 27, 2023

Codecov Report

Merging #7100 (75e4b3f) into develop (fb610a4) will increase coverage by 0.02%.
Report is 1 commits behind head on develop.
The diff coverage is 100.00%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #7100      +/-   ##
===========================================
+ Coverage    82.93%   82.96%   +0.02%     
===========================================
  Files          372      372              
  Lines        39576    39576              
  Branches      3688     3688              
===========================================
+ Hits         32824    32835      +11     
+ Misses        6752     6741      -11     
Components Coverage Δ
cvat-ui 78.43% <ø> (+0.04%) ⬆️
cvat-server 87.11% <100.00%> (+<0.01%) ⬆️

@bsekachev bsekachev merged commit 4bfd128 into develop Dec 28, 2023
13 of 14 checks passed
@bsekachev bsekachev deleted the bs/update_pillow branch December 29, 2023 10:15
@cvat-bot cvat-bot bot mentioned this pull request Jan 10, 2024
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.

4 participants