Comments (7)
Black color in the border or black color in image background?
from photoeditor.
the one in the background
from photoeditor.
@yooneskh I have yet achieve this.
It's really simple, I put my code.:
val bitmapEmpty = Bitmap.createBitmap(bitmap.width, bitmap.height, Bitmap.Config.ARGB_8888)
photoEditor.source.setImageBitmap(bitmapEmpty)
Then save as usual.
You will get a PNG file with transparent background.
The important, is to get the correct width and height to achieve the same size as your final result.
Keep in mind that on phone / emulator that file shows with white / black background but if you open with another editor image program you will see it's transparent.
I hope this helps you ;)
from photoeditor.
from photoeditor.
If you have resolved the issue then please post your solution and close the issue. It will really help other developers. @yooneskh
from photoeditor.
@burhanrashid52 Anyway, there is some way to save the transparent layer with the current size, without the removeTransparency
?
I know that removeTransparency it's for performance but i need the full size
Thank's, great lib!!
from photoeditor.
Now you can set options while saving the image.
Resolved in v.0.3.2
For more details check Saving Wiki
from photoeditor.
Related Issues (20)
- How to post images burhanrashid to retrofit? HOT 2
- Able to draw with brush by zooming or pinching for best results HOT 3
- Set shape opacity on shapeBuilder doesn't work HOT 7
- Save Image to Cache. HOT 3
- [Bug] saving an image (even without applying filter or brush or anything) will change image dimensions HOT 3
- Leak Graphics memory when changing filter. HOT 4
- Make ViewState public, and return back the final Bitmap after saveAsFile HOT 9
- How to scale source image to fit the space HOT 5
- After save image, the width and height of new saved image was shrink, not like original image size. HOT 2
- After Applying Filter (save image showing black) HOT 2
- Ability to make collage HOT 3
- When app opens Camera photos it rotates them HOT 4
- Android 10 saveAsFile failed to save File cause by open failed: EACCES (Permission denied) HOT 6
- Trying to draw too large bitmap HOT 2
- mPhotoEditor.addImage(bitmap) is not resovled or found in the latest version HOT 2
- Share to PhotoEditor HOT 2
- Open app on blank slate HOT 2
- Adjustable/customizable filters HOT 2
- Edit and resize shape HOT 2
- Initial set image is appearing smaller than the original size HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from photoeditor.