Comments (9)
Please take a look into this repository that I've created. It uses this library. I've added a webp decoder extension. The images are being returned. But the issue is,
I need the image to start from lowest zoom level and zoom into 4x zoom levels. ie., 4x comes after 1x, 16x comes after 4x. So, if resolution of image at 1x is 25x25, next level would be 100x100, then 400x400 so on.. Could you please help me??
from artiledimageview.
Not sure I have a lot of time to play with this. Is the zoom not working? What's the actual problem? What do you expect and what are you seeing?
Is the performance problem because of JPEG and that's why you're adding webp support?
Unrelated, what is the code that you had to add to support webp? Maybe PR that into this project with some tests and documentation so that we can turn that into something maintainable and in exchange you can get some help on your feature :)
from artiledimageview.
Performance issue is not because of webp, I've tested. Problems that I face are:
- When I run this project I see, that the view is loaded at maximum zoom level. I want the image to be at minimum zoom level at the beginning. i tried setting
zoomscale
but it doesn't work. - Tiled images are only available at alternate zoom levels. Usual transition is 1x,2x,4x,8x... but i require 1x,4x,16x...
- Also is it possible to set a tile layer image as background image for scroll view (maybe, rendering a layer with just a handful of tiles)?
from artiledimageview.
I added the webpdecoder framework provided by google here is the link.Also, added a small extension to UIImage for convenience. You could take a look on my repository. I use webp format for images because they are really low in size. 512x512 can stored in 4-10kb hence, the network load is less. Also, webp format has a lossless compression unlike jpg.
from artiledimageview.
There're 3 separate issues here. You should turn this issue into one of them and open separate issues for everything else.
Unfortunately nobody here has time to integrate your webp support or to spend a lot of time debugging your app, however you can help us by making pull requests even for small things, I encourage you to do so.
from artiledimageview.
Okay, the major issue that I face is, converting the zoom step from 2x to 4x.
from artiledimageview.
I've been trying to skip level 12 between 11 and 13 in your Armory2014 sample project. But, I can't get it to work. Could you help me with this?
from artiledimageview.
Unfortunately I don't have any time to do this quickly, no promises, sorry.
from artiledimageview.
Just in case you get some time, please have a look I made a project with this repository. The issue is performance is very poor (rendering speed, initial rendering time is very high). He has made a Custom Tile Provider maybe you could understand the logic used. I tried using the same. But, it's not working yet.
from artiledimageview.
Related Issues (10)
- Include a script for generating tiles from an image HOT 4
- ARTiledImageDemoViewControllerSpec broken?
- Initially image is loaded in max zoom level. Is it possible to load it in fit to screen. HOT 5
- Change scale to fit to stretch to fill for image in tiles. HOT 5
- UIKit work is done on the main thread HOT 2
- Crash in [ARTiledImageView downloadAndRedrawTilesWithURLs:] (ARTiledImageView.m:154) HOT 3
- Add an XCode 6 QuickLook preview of a tile HOT 2
- AV: crashes with tileSize = nil
- Ensure consistent headers
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from artiledimageview.