question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Safari 13 rotated tiles

See original GitHub issue

I used Php Deepzoom to convert jpg to dzi.

File names like column_row.jpg in different layer folder. Screenshot_12 Screenshot_13

It works on Chrome browser. But in safari all tiles rotated to right automatically after osd has loaded.

Screenshot_14

<script src="https://cdnjs.cloudflare.com/ajax/libs/openseadragon/3.1.0/openseadragon.min.js"></script> viewer = OpenSeadragon({ id: “viewer”, prefixUrl: “//openseadragon.github.io/openseadragon/images/”, tileSources: tile_sources, sequenceMode: true });

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
iangilmancommented, Oct 14, 2022

@ozgunlu Wonderful! I’m glad I was able to help point you in the right direction 😃 Thank you for sharing the solution code; that may be helpful for other people who have this issue.

This seems like it would be a good fix to add directly into https://github.com/jeremytubbs/deepzoom… You might consider making a pull request there!

0reactions
ozgunlucommented, Oct 7, 2022

For php here is the solution;

$src_img = $imageManager->make($path);
$src_img->orientate();
// to remove exif orientation
$profiles = $src_img->getCore()->getImageProfiles("icc", true);
$src_img->getCore()->stripImage();
if(!empty($profiles)) {
    $src_img->profileImage("icc", $profiles['icc']);
}
Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I rotate a title/text 90 degrees in iMovie?
You can rotate normal images by selecting them in the timeline and using the crop tool. Titles/text unfortunately can not be rotated whether ......
Read more >
Rotate the image on your Mac display - Apple Support
Click the pop-up menu next to Rotation on the right and choose how many degrees to rotate the image on your display. In...
Read more >
Rotatic on the App Store
Rotate tiles and transform into artworks! Rotatic is a brilliant image-matching puzzle game filled with comprehensive visual content and ...
Read more >
Layout - Foundations - Human Interface Guidelines - Design
If your app is landscape-only, make sure it runs equally well whether people rotate their device to the left or the right. If...
Read more >
Tile Effect Filters | Apple Developer Documentation
The properties you use to configure a sixfold rotated tile filter. CITriangleKaleidoscope. The properties you use to configure a triangle kaleidoscope filter.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found