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

Roadmap for next major release #24

Open
2 of 36 tasks
JrSchild opened this issue Nov 13, 2015 · 1 comment
Open
2 of 36 tasks

Roadmap for next major release #24

JrSchild opened this issue Nov 13, 2015 · 1 comment

Comments

@JrSchild
Copy link
Owner

To my knowledge this is still the most desired image cropper for Ionic. Unfortunately I am no longer actively maintaining this plugin. However to make this project future proof and if there is enough support from the community and contributors we can slowly start looking at what this library needs for a next major release.

I am unsure how much time I have to work on this. Before I start planning anything I will require some community feedback on the following items that came up.

  • Fully tested support for Android
  • Extensive unit testing
  • API redesign
    • Expose the controller rather than promise (breaking)
    • A hook/event that emits location/events/updates, (probably broadcast them on the scope)
    • Leak images' current location/scale condition to jr-crop instance
    • Output options: canvas, BLOB (+ image type, image quality), crop-values, instance (contains canvas, toBlob() and crop-values)
  • Internal refactor
    • Fix laggy/jumpy behavior
    • Change the way jr-crop gets instantiated
    • controller.loadImage should be a static/separate method, not instantiated on the prototype
    • Further abstract methods out (use case)
    • Explore options for a single moving image and clip it with a mask
  • Improve documentation and examples
    • How to send large images (.toBlob()/polyfill?) and receive/store them on the server File Size  #23
    • Known (security) issues/Troubleshooting
    • How to use the Camera/Photo Library (iOS + Android) with jr-crop
    • API options
    • ?
  • Features
    • Crop surface dependent of screen size
    • Ratio options
    • Crop canvas to circle (Branch)
    • Export to image file (PNG/JPG)
    • Scaling? Update: scale image version #17
    • Support other croppable elements than a URL
    • maxScale/minScale option
    • Change overlay color + opacity (also for circle)
    • Allow rotation of image
    • Fix device rotation
    • ?
  • Improve extensibility
  • Take a good look at other implementations like this one and forks to see what they do well/different
  • Ionic v2 support?
  • Desktop support (scale)?
@0x1ad2
Copy link

0x1ad2 commented Dec 23, 2015

Does the feature

  • Ratio options

also fix the issue #28

When is the release expected and is there some way to fix the ratio problem myself?

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

2 participants