lopei / collageview Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
how can I save and share the final image ?
https://jitpack.io/com/github/lopei/collageview/0.1.2/collageview-0.1.2.aar
contains res/drawable/res_item_1.jpg, res_item_2.jpg and so on which are the Simpsons etc. images shown in the demo
Thank you for creating this wonderful library.
I pretty like the image collage view as in Google Keep.
I try with the following code
CollageView collageView = (CollageView) findViewById(R.id.collageView);
collageView
.photoMargin(1)
.photoPadding(3)
.backgroundColor(Color.RED)
.photoFrameColor(Color.BLUE)
.useFirstAsHeader(false)
.defaultPhotosForLine(3)
.useCards(true)
.loadPhotos(new int[] {R.drawable.one, R.drawable.three, R.drawable.two, R.drawable.zero});
The best I can achieve is
If you pay attention carefully. There's one significant different. In Google Keep, it is able to scale the image more intelligently, so that there's no image cropping. All image information can be seen from the thumbnail. No information is lost.
I was wondering, do you have any idea, how can I achieve the same effect as in Google Keep?
Than you.
Hi
I noticed that the images are not loading anymore with this library. It's because it uses an older version of the Picasso library with the old format for loading images: "Picasso.with(context)". Would it be possible to change to the newest version of Picasso with the new format "Picasso.get()"? I would like to use your library for my project.
Thanks in advance
Yours sincerely
Zjef
If the images are of higher Resolution (> 400X400), then the load times are huge and the App is non-responsive, even the options menu is stuck while the images are loading.
How can I load images in collageview from files? using path url.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.