Ophir LOJKINE

Results 1258 comments of Ophir LOJKINE

If you want to script dezoomify, you should use dezoomify-rs

I adhere to Wikipedia's definition of copyright for images. Faithful 2d reproductions of public domain 2d artworks are public domain. In particular, photographs of old paintings, mosaics or frescoes are...

Here are the contents of the file you reference: ``` Content-Disposition: inline;filename="IIPisAMadGameClosedToOurUnderstanding.netfpx" Error/42:2 1 FIF=2013/05/09/ac_ ```

Looks like they started using [incapsula](https://en.wikipedia.org/wiki/Incapsula) to try and prevent bots to access the resources. It should be possible to work around it with https://github.com/lovasoa/dezoomify/wiki/How-to-access-protected-pages

Just got it to work by using [dezoomify-rs](https://dezoomify-rs.ophir.dev) and [copying the cookie from my browser session](https://firefox-source-docs.mozilla.org/devtools-user/storage_inspector/) : ![image](https://github.com/lovasoa/dezoomify/assets/552629/436e7938-069a-4889-88cf-00110d2fa6ae) ``` ❯ ./dezoomify-rs 'https://ndhadeliver.natlib.govt.nz/iipsrv?FIF=2013/05/09/ac_21/V1-FL17024838.jp2&obj=IIP,1.0&obj=Max-size&obj=Tile-size&obj=Resolution-number' --header 'Cookie: incap_ses_2224_227072=WCzGUfAbhw0BZ2oyPDzdHsIS02UAAAAAmtHdBpAw2kcbTquGguLgQA==;' Found the following zoom levels:...

You should be able to do the same as I did above, with dezoomify-rs

Apple refuses external browsers to use their own engines, and didn't implement saving a canvas. Dezoomify can't do that inside the webpage because of the same origin policy

Yes. Maybe alternative browser engines will be allowed on iOS in the future thanks to EU regulations, though. https://arstechnica.com/gadgets/2023/02/google-and-mozilla-are-working-on-ios-browsers-that-break-current-app-store-rules/

Would you be interested to include your implementation of the algorithm into dezoomify ? It should be a simple .js file to create.

Maybe you could update the code itself to use the latest react and webpack ? https://github.com/sql-js/react-sqljs-demo/blob/master/package.json