Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can we have plaid background for images like logos which have transparent background? #857

Open
ParthTrehan22 opened this issue Apr 25, 2023 · 1 comment
Labels
Enhancement Enhance performance or improve usability of original features. Need Discussion Need discussion or investigation

Comments

@ParthTrehan22
Copy link

Version

Development Environment

Current Behavior

// Write example code

Expected Behavior

@ParthTrehan22 ParthTrehan22 added Enhancement Enhance performance or improve usability of original features. Need Discussion Need discussion or investigation labels Apr 25, 2023
@hoangdt9
Copy link

hoangdt9 commented Jan 18, 2024

little hack for you =))

const whiteTheme = {
...
"common.bi.image": "assets/blank.png",
}

const includeUI = {
...
theme: whiteTheme,
}

...
return (
<ImageEditor
useDefaultUI={true}
includeUI={includeUI}
cssMaxHeight={500}
cssMaxWidth={700}
selectionStyle={{
cornerSize: 20,
rotatingPointOffset: 70,
}}
usageStatistics={false}
/>
)

Screenshot 2024-01-18 132633

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Enhance performance or improve usability of original features. Need Discussion Need discussion or investigation
Projects
None yet
Development

No branches or pull requests

2 participants