Skip to content

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

License

Notifications You must be signed in to change notification settings

AndrewJBateman/ionic-angular-imagecrop

Repository files navigation

⚑ Ionic Angular Image Crop

πŸ“„ Table of contents

πŸ“š General info

  • 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.

πŸ“· Screenshots

image

πŸ“Ά Technologies

πŸ’Ύ Setup

  • Run npm i to install dependencies
  • To start the server on localhost://8100 type: 'ionic serve -o'

πŸ’» Code Examples

  • 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
}

πŸ†’ Features

  • Crops and manipulates images using image cropper methods.

πŸ“‹ Status & To-do list

  • Status: Working. Needs Cordoba to test properly.
  • To-do: Nothing.

πŸ‘ Inspiration

πŸ“ License

  • This project is licensed under the terms of the MIT license.

βœ‰οΈ Contact

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