Awesome image editor in Angular 8
npm i angular-img-editor
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AngularImgEditorModule } from 'angular-img-editor';
import { AppComponent } from './app.component';
@NgModule({
declarations: [ AppComponent ],
imports: [ BrowserModule, AngularImgEditorModule],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
<sb-angular-img-editor [canvasTextSettings]="canvasTextSettings"></sb-angular-img-editor>
`canvasTextSettings = {
imageUrl: '', // Pass your image url here text: '', // Text you want on your image size: '95px', // Size of the text color: '#000000', // Default color of the text fontFamily: 'Calibri', // Font Style you want to apply effect: '', // gradient effect, value is effect 1, effect 2 upto effect 6 bold: false, italic: false, colorChoice: '1', selectedHoverEffect: 0 };`