Skip to content

Roadmap for next major release #24

@JrSchild

Description

@JrSchild

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)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions