• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

NaturalHistoryMuseum / iiif-image-server
88%
main: 88%

Build:
Build:
LAST BUILD BRANCH: dependabot/pip/pillow-10.3.0
DEFAULT BRANCH: main
Repo Added 06 May 2020 11:58AM UTC
Files 17
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH josh/rotate_images
branch: josh/rotate_images
CHANGE BRANCH
x
Reset
  • josh/rotate_images
  • dev
  • ginger/standardisation
  • ginger/tiffs
  • ginger/timeout-error
  • ginger/timeouts
  • josh/actions
  • josh/add_extras_to_info_json
  • josh/bomb_errors_plus_loky
  • josh/change_cache_lib
  • josh/deleted-temp-files
  • josh/extra_logs
  • josh/file_management
  • josh/fix-use-before-defined-error
  • josh/fix_image_magick_seg_fault
  • josh/fix_rotation
  • josh/fix_rotation_artefacts
  • josh/fix_seg_fault_issue
  • josh/fix_tile_sizes
  • josh/homeland
  • josh/leaks
  • josh/mam_redirects
  • josh/memory_leaks
  • josh/modernise
  • josh/preps
  • josh/remove-cors
  • josh/remove_jpeg_option
  • josh/rotate-images
  • josh/spelling
  • josh/swap_mss_irn_for_guid
  • josh/update-action-runs-on
  • josh/update-workflow
  • josh/upgrade_dependencies
  • main
  • master
  • patch
  • v0.10.2
  • v0.10.3
  • v0.10.4
  • v0.11.0
  • v0.12.0
  • v0.12.1
  • v0.13
  • v0.14
  • v0.14.1
  • v0.15.0
  • v0.16.0
  • v0.16.1
  • v0.16.2
  • v0.16.3
  • v0.17.0
  • v1.0.0
  • v1.0.1

21 Jul 2024 08:56PM UTC coverage: 88.208% (-0.03%) from 88.241%
10031283355

Pull #51

github

jrdh
fix: make sure the image is loaded before rotating it based on exif

If the first thing we do after lazily opening the image is call exif_transpose, we end up causing some issues with that functions logic. Specifically, TIFF images with a TIFF tag orientation will be double rotated because the exif_transpose function reads the TIFF tag orientation (in Pillow exif also includes these TIFF tags) before the image is loaded into memory, but once the image is loaded into memory the TIFF plugin will rotate the image based on the TIFF orientation tag before the exif_transpose function then also rotates it. To avoid this, do something else which will force the image to be loaded into memory before calling exif_transpose. Bit hacky but hey tis what it is.
Pull Request #51: fix: rotate images on source acquisition

2 of 2 new or added lines in 1 file covered. (100.0%)

965 of 1094 relevant lines covered (88.21%)

0.88 hits per line

Relevant lines Covered
Build:
Build:
1094 RELEVANT LINES 965 COVERED LINES
0.88 HITS PER LINE
Source Files on josh/rotate_images
  • Tree
  • List 17
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
10031283355 josh/rotate_images fix: make sure the image is loaded before rotating it based on exif If the first thing we do after lazily opening the image is call exif_transpose, we end up causing some issues with that functions logic. Specifically, TIFF images with a TIFF tag... Pull #51 21 Jul 2024 08:58PM UTC jrdh github
88.21
9962162505 josh/rotate_images fix: rotate images on source acquisition push 16 Jul 2024 06:27PM UTC web-flow github
88.21
9962150271 josh/rotate_images bump: version 0.16.0 → 0.16.1 push 16 Jul 2024 06:26PM UTC github-actions[bot] github
88.24
See All Builds (182)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc