Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better document the package #3

Open
kenperkins opened this issue Oct 2, 2014 · 5 comments
Open

Better document the package #3

kenperkins opened this issue Oct 2, 2014 · 5 comments

Comments

@kenperkins
Copy link
Member

This library would benefit from some documentation above the usage in test/_index.coffee

@somentelucas
Copy link

agreed

@soichih
Copy link

soichih commented Jun 23, 2016

I have no idea how to run this.. Can you document?

@gasi
Copy link
Member

gasi commented Jun 23, 2016

@soichih Does this example help?

# Create pyramid
ID = Math.floor Math.random() * 1000
SOURCE = path.join __dirname, 'images', 'carina-nebula-6000x2906.jpg'
DESTINATION = path.join __dirname, 'images', "#{ID}.dzi"
DEFAULT_TILE_SIZE = 254
DEFAULT_TILE_OVERLAP = 1
DEFAULT_FORMAT = 'jpg'
DeepZoomImage.create _, SOURCE, DESTINATION, DEFAULT_TILE_SIZE,
DEFAULT_TILE_OVERLAP, DEFAULT_FORMAT

@soichih
Copy link

soichih commented Oct 6, 2016

@gasi Yes, I think it will be nice if it's explained on the README.md. Also, can you post it in a plain Javascript?

@gasi
Copy link
Member

gasi commented Oct 6, 2016

@soichih I am currently not maintaining this library, but feel free to submit a PR and I’d be happy to review and merge. Thanks for your understanding 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants