{"id":18614990,"url":"https://github.com/andrewjbateman/ionic-angular-imagecrop","last_synced_at":"2025-04-11T00:31:04.085Z","repository":{"id":41760265,"uuid":"219933771","full_name":"AndrewJBateman/ionic-angular-imagecrop","owner":"AndrewJBateman","description":":clipboard: Ionic app to crop images. Another excellent tutorial from Simon Grimm at the Ionic Academy","archived":false,"fork":false,"pushed_at":"2023-01-06T02:15:49.000Z","size":8122,"stargazers_count":5,"open_issues_count":15,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T06:51:15.399Z","etag":null,"topics":["angular","angular13","camera","crop-images","html5","image-cropper","image-manipulation","ionic","ionic-academy","ionic6","typescript4"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AndrewJBateman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-11-06T07:09:48.000Z","updated_at":"2023-01-31T17:41:16.000Z","dependencies_parsed_at":"2023-02-05T02:46:12.078Z","dependency_job_id":null,"html_url":"https://github.com/AndrewJBateman/ionic-angular-imagecrop","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fionic-angular-imagecrop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fionic-angular-imagecrop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fionic-angular-imagecrop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fionic-angular-imagecrop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndrewJBateman","download_url":"https://codeload.github.com/AndrewJBateman/ionic-angular-imagecrop/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248322236,"owners_count":21084333,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular","angular13","camera","crop-images","html5","image-cropper","image-manipulation","ionic","ionic-academy","ionic6","typescript4"],"created_at":"2024-11-07T03:27:44.938Z","updated_at":"2025-04-11T00:30:59.075Z","avatar_url":"https://github.com/AndrewJBateman.png","language":"TypeScript","readme":"# :zap: Ionic Angular Image Crop\n\n* App created using the [Ionic framework](https://ionicframework.com/docs) to crop photos using an [Angular Image Cropper module](https://github.com/Mawi137/ngx-image-cropper).\n* Another great tutorial from Simon Grimm at the [Ionic Academy](https://ionicacademy.com) - see [:clap: Inspiration](#clap-inspiration) below.\n\n## :page_facing_up: Table of contents\n\n* [:zap: Ionic Angular Image Crop](#zap-ionic-angular-image-crop)\n  * [:page_facing_up: Table of contents](#page_facing_up-table-of-contents)\n  * [:books: General info](#books-general-info)\n  * [:camera: Screenshots](#camera-screenshots)\n  * [:signal_strength: Technologies](#signal_strength-technologies)\n  * [:floppy_disk: Setup](#floppy_disk-setup)\n  * [:computer: Code Examples](#computer-code-examples)\n  * [:cool: Features](#cool-features)\n  * [:clipboard: Status \u0026 To-do list](#clipboard-status--to-do-list)\n  * [:clap: Inspiration](#clap-inspiration)\n  * [:file_folder: License](#file_folder-license)\n  * [:envelope: Contact](#envelope-contact)\n\n## :books: General info\n\n* Updated to the latest Angular \u0026 Ionic versions, all dependencies updated\n* Uses the Cordova camera plugin, improved with the Ionic-native camera plugin.\n* This is for development, a jpg image is used instead of the camera image.\n\n## :camera: Screenshots\n\n![image](./img/cropper.png)\n\n## :signal_strength: Technologies\n\n* [Ionic v6](https://ionicframework.com/)\n* [Angular v13](https://angular.io/)\n* [Ionic/angular v6](https://www.npmjs.com/package/@ionic/angular)\n* [Angular RxJS Library v6](https://angular.io/guide/rx-library)\n* [ngx Image Cropper v6](https://github.com/Mawi137/ngx-image-cropper)\n\n## :floppy_disk: Setup\n\n* Run `npm i` to install dependencies\n* To start the server on _localhost://8100_ type: 'ionic serve -o'\n\n## :computer: Code Examples\n\n* Extract from `home.page.ts` to show camera options\n\n```typescript\nconst options: CameraOptions = {\n    quality: 100,\n    destinationType: this.camera.DestinationType.DATA_URL,\n    encodingType: this.camera.EncodingType.JPEG,\n    mediaType: this.camera.MediaType.PICTURE,\n    sourceType: this.camera.PictureSourceType.CAMERA\n}\n```\n\n## :cool: Features\n\n* Crops and manipulates images using image cropper methods.\n\n## :clipboard: Status \u0026 To-do list\n\n* Status: Working. Needs Cordoba to test properly.\n* To-do: Nothing.\n\n## :clap: Inspiration\n\n* [Simon Grimm´s Youtube video: How to Crop Images in Ionic 4 with CropperJS](https://www.youtube.com/watch?v=UnqVkzWg2W0)\n* [Nappd: How to add Image Cropper in ionic 4 app](https://enappd.com/blog/how-to-add-image-cropper-in-ionic-4-app/68/)\n* [Adding Image Cropper in Ionic 4 Apps](https://medium.com/enappd/image-cropper-in-ionic-4-7b76f1153ad9)\n\n## :file_folder: License\n\n* This project is licensed under the terms of the MIT license.\n\n## :envelope: Contact\n\n* Repo created by [ABateman](https://github.com/AndrewJBateman), email: gomezbateman@yahoo.com\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fionic-angular-imagecrop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewjbateman%2Fionic-angular-imagecrop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fionic-angular-imagecrop/lists"}