Comments (14)
up!
from panorama.
Hello @kopiro, do you have same problem as my?
from panorama.
yes :(
Do you have any idea?
It works fine, but I'm trying to wrap in a Titanium module and it crashes.
from panorama.
@kopiro Don't have any ideas. I will let you know when find solution. Good to know that I'm not alon
from panorama.
Hello @kopiro I have fixed the problem. This error occurred due to unsupportable image size (image must have proportion 2x1). I have created crop tool for resizing any image. You can find tool here:
https://gist.github.com/Rommanski/142f0b56ef553222a8fc221e2d4deee6
from panorama.
My image is 2x1 :(
from panorama.
Should I crop it anyway?
from panorama.
@robbykraft Maybe, there is reason to include same tool to the library? This solution will prevent problems with incorrect image size.
from panorama.
@kopiro Of corse not. Unfortunately, I don't have experience with Titanium. Do you try to include this native module to your app?
from panorama.
I'm working to wrap it in a Titanium module, but it doesn't works with this crash.
Trying to crop anyway, maybe it helps.
from panorama.
thanks for solving @Rommanski
yes, the instruction is in the readme, though after hearing from you, maybe it's not obvious enough.
i agree! including a scaling library would be helpful, though, i'm hung up on user design details -
- what happens when image is not 1:2? do we preserve aspect + crop, or scale axes independently?
I'm testing to see what I can do, a 1:2 but not a power of 2 (500x250) - I'm getting no errors generated, and "info" appears to load, (even though it doesn't show, as it shouldn't):
info = [GLKTextureLoader textureWithCGImage:image.CGImage options:options error:&error];
a work around would be load the image twice. First time as a UIImage, validate width and height properties, then if all checks out load the image again as a GLKTexture.. there must be a more elegant solution
from panorama.
Is there any chances that you can help me? I didn't solved yet :(
Thanks in advance
On Wednesday, November 9, 2016, Robby Kraft [email protected]
wrote:
thanks for solving @Rommanski https://github.com/Rommanski
yes, the instruction is in the readme, though after hearing from you,
maybe it's not obvious enough.i agree! including a scaling library would be helpful, though, i'm hung up
on user design details -
- what happens when image is not 1:2? do we preserve aspect + crop, or
scale axes independently?I'm testing to see what I can do, a 1:2 but not a power of 2 (500x250) -
I'm getting no errors generated, and "info" appears to load, (even though
it doesn't show, as it shouldn't):info = [GLKTextureLoader textureWithCGImage:image.CGImage options:options
error:&error];a work around would be load the image twice. First time as a UIImage,
validate width and height properties, then if all checks out load the image
again as a GLKTexture.. there must be a more elegant solution—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#55 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAzQFFQgigNZe0rQNzs4vYVcRbIhPH8zks5q8hP_gaJpZM4KmKU4
.
from panorama.
@kopiro are you using the included image? what are the dimensions of the image you are using?
from panorama.
I have answered on the other issue, thank you :)
On Wednesday, November 9, 2016, Robby Kraft [email protected]
wrote:
@kopiro https://github.com/kopiro are you using the included image?
what are the dimensions of the image you are using?—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#55 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAzQFHQDxlj6untDIYUJEP9P9Bc9uprwks5q8hbngaJpZM4KmKU4
.
from panorama.
Related Issues (20)
- Just detect touch Swift 3 HOT 1
- How do i get same woking of lockPanToHorizon with landscape mode in device HOT 3
- Set Image directly instead of name/path HOT 1
- adapting image orientation with device orientation HOT 2
- How can I set the current viewing direction to the center of the image? HOT 2
- How to Use the Panorama View for UIView? HOT 1
- Camera Features Support HOT 3
- setImage and setImageWithName not working when I try to set it from directory or bundle directory HOT 2
- Large Image not loading. HOT 2
- Tiny planet effect by zooming out HOT 1
- EXC_BAD_ACCESS on iOS 11 HOT 4
- how to set image size for scale 16:9 HOT 1
- Unable to build pod in swift project HOT 2
- Library for Android
- iOS black screen HOT 1
- Control Zooming
- Its not working on iOS
- Migrate to Swift and Metal?
- How to use pitch and yaw to place hotspots ?
- Port to Swift/Metal is available: dhoerl/Panorama
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 panorama.