AndrewJBateman/ionic-angular-imagecrop

Repository files navigation

  • Updated to the latest Angular & Ionic versions, all dependencies updated
  • Uses the Cordova camera plugin, improved with the Ionic-native camera plugin.
  • This is for development, a jpg image is used instead of the camera image.

image

  • Run npm i to install dependencies
  • To start the server on localhost://8100 type: 'ionic serve -o'
  • Extract from home.page.ts to show camera options
const options: CameraOptions = {
    quality: 100,
    destinationType: this.camera.DestinationType.DATA_URL,
    encodingType: this.camera.EncodingType.JPEG,
    mediaType: this.camera.MediaType.PICTURE,
    sourceType: this.camera.PictureSourceType.CAMERA
}
  • Crops and manipulates images using image cropper methods.
  • Status: Working. Needs Cordoba to test properly.
  • To-do: Nothing.
  • This project is licensed under the terms of the MIT license.

About

πŸ“‹ Ionic app to crop images. Another excellent tutorial from Simon Grimm at the Ionic Academy

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published