Giter Site home page Giter Site logo

byakugallery's People

Contributors

diegocarloslima avatar kennyc1012 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

byakugallery's Issues

Scale Type FitCenter and Extra zoom required

I am making an application with a requirement of initial scale as fitCenter and ability to zoom beyond actual pixel size of image,

Unfortunately since this library throws exception if any scale type other than matrix is selected plus it does not let zoom beyond pixel limit

Gradle support?

I'd love to see this library get uploaded to the Maven central repository so it could easily be used in Android Studio projects with no hassle.

priority hight bug !

priority hight bug !

the work thread is blocked by
mDecodeQueue.take();
and no chance to interrupt

OutOfMemoryError

When i use GalleryViewPagerSampleActivity (with fast scroll and zoom in) on Galaxy S3, it show error:

02-05 15:49:29.094: E/AndroidRuntime(20628): FATAL EXCEPTION: AsyncTask #4
02-05 15:49:29.094: E/AndroidRuntime(20628): java.lang.RuntimeException: An error occured while executing doInBackground()
02-05 15:49:29.094: E/AndroidRuntime(20628): at android.os.AsyncTask$3.done(AsyncTask.java:299)
02-05 15:49:29.094: E/AndroidRuntime(20628): at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:273)
02-05 15:49:29.094: E/AndroidRuntime(20628): at java.util.concurrent.FutureTask.setException(FutureTask.java:124)
02-05 15:49:29.094: E/AndroidRuntime(20628): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:307)
02-05 15:49:29.094: E/AndroidRuntime(20628): at java.util.concurrent.FutureTask.run(FutureTask.java:137)
02-05 15:49:29.094: E/AndroidRuntime(20628): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
02-05 15:49:29.094: E/AndroidRuntime(20628): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
02-05 15:49:29.094: E/AndroidRuntime(20628): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
02-05 15:49:29.094: E/AndroidRuntime(20628): at java.lang.Thread.run(Thread.java:856)
02-05 15:49:29.094: E/AndroidRuntime(20628): Caused by: java.lang.OutOfMemoryError
02-05 15:49:29.094: E/AndroidRuntime(20628): at android.graphics.Bitmap.nativeCreate(Native Method)
02-05 15:49:29.094: E/AndroidRuntime(20628): at android.graphics.Bitmap.createBitmap(Bitmap.java:640)
02-05 15:49:29.094: E/AndroidRuntime(20628): at android.graphics.Bitmap.createBitmap(Bitmap.java:586)
02-05 15:49:29.094: E/AndroidRuntime(20628): at android.graphics.Bitmap.createScaledBitmap(Bitmap.java:466)
02-05 15:49:29.094: E/AndroidRuntime(20628): at com.diegocarloslima.byakugallery.lib.TileBitmapDrawable$InitializationTask.doInBackground(TileBitmapDrawable.java:389)
02-05 15:49:29.094: E/AndroidRuntime(20628): at com.diegocarloslima.byakugallery.lib.TileBitmapDrawable$InitializationTask.doInBackground(TileBitmapDrawable.java:1)
02-05 15:49:29.094: E/AndroidRuntime(20628): at android.os.AsyncTask$2.call(AsyncTask.java:287)
02-05 15:49:29.094: E/AndroidRuntime(20628): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
02-05 15:49:29.094: E/AndroidRuntime(20628): ... 5 more
02-05 15:49:29.144: D/skia(20628): ---- fAsset->read(757392) returned 0

How to use for Eclipse project

I use MuPDF library, in which we provide pdf's to the library and it gives me bitmaps.Now I need to tile this bitmaps.How to use this library according to my requirement in Eclipse.Thank you

the drawable can't be recycled

Hi,
When i close the GalleryViewPagerSampleActivity or TouchImageViewSampleActivity, the native heap is not recycled, therefore, if i start these activities and close and start again and so on, the heap would increase forever, and lag the phone, is there any way to solve this issue please?

Thank you.

Portrait images appear landcape

I've tried using a portrait image from resource (which I took from the camera) but it appears landscape no matter what i've tried... Is there a way to display it correctly?
thanks

Images are sampled too much and look grainy

I am passing image paths from my photo gallery to this library, when it loads them in gallery view in the sample provided, the image is not sharp it is down sampled too much.

How can I stop it from making the image too low quality?

I played around with InitializationTask in TileBitmapDrawable and set options.inSampleSize = 1 as well as other things but it made no difference

How to limit imageview's min scale in x

Now i have a picture, it's size is 990 X 18464 , when first load picture into imageview, it's's very small.
I onDoubleTap it ,it looks better.
I had seen mMaxScale in TouchImageView, but no mMinScale , please help me , thank you

Display image from bitmap

Thanks you for awesome library. But I have a question. Do this library support load image from a bitmap.

Because I have a use case : download image from universal image loader, and get a bitmap from it. But I can't use your library to display from bitmap

Using with Picasso or Just images.

Hello,
First off thank you for making this. It appears to be just what I need. However, if I just set the TouchImageView the image shows up but is not scalable at all. It only seems to work if I also use TileBitmapDrawable. In particular I am using it with picasso. The image display but is not scalable. Is there a way to get it to work without the TileBitmapDrawable? Or to pass a bitmap to TileBitmapDrawable?

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.