Comments (7)
it does. Please be more specific about your issue.
from spritespin.
Desculpe @giniedp, o problema era o tamanho da imagem(3MB). Já resolvi e está funcionando como você disse.
I wrote portuguese because my english is very basic :-/
from spritespin.
yes, image size is important. everything above 2 Megapixels will be scaled down by some browsers. Spritespin tries to detect that, but the detection might fail on some PNG images, that have transparency
from spritespin.
@giniedp I ran into an issue with a transparent png, the size was all crazy. I've set detectSubsampling:false and everything worked out.
from spritespin.
yes, subsampling detection with transparent images is not reliable. It goes wrong when border pixels or the outline of the image is transparent. There is a comment about that in the source code
spritespin/release/spritespin.js
Line 252 in ce5c8ea
if anyone knows about a more reliable mechanism your pull reuest is welcome :)
from spritespin.
Yes, I saw the comment, that's how I knew to disable it. Maybe a more clear explanation in the sample code (http://spritespin.ginie.eu/howto.html - Options) would help people that are getting this behavior.
Thanks for your plugin!
from spritespin.
agree, that topic should get a section in the howto page
from spritespin.
Related Issues (20)
- Uncaught TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'. at (spritespin.min.js:1) HOT 5
- Loop False is not working HOT 1
- Error import Spriterspin HOT 1
- Show loading indicator on zoom
- Is there a way to use this plugin in react without jquery HOT 2
- Play and Stop functions HOT 1
- Rotate on scrollwheel, but don't hijack scrollwheel HOT 5
- Increase speed on automatic play HOT 5
- Any way to make it spin just once HOT 2
- Trigger spin after load via a button press or javascript event, and spin one full rotation, at 150% speed
- 'spritespin' is not exported from 'spritespin' (imported as 'SpriteSpin'). HOT 1
- Option "sourceZoom" has no effect HOT 1
- Disable all mouse/scroll/trackpad/touch rotation interactions HOT 4
- Animation spins really fast only on firefox, loads consistent speed on other browsers HOT 7
- Error reading 'metrics' and 'state' HOT 5
- resize eventListener not bind to window HOT 2
- Mouse movement plugin not working HOT 2
- There is an extra frame or something like that HOT 1
- How to enable vertical touch scroll over the Spritespin element on mobile devices ? HOT 1
- Memory Leaks Chrome?
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 spritespin.