ichengc / android-pinch Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/android-pinch
Automatically exported from code.google.com/p/android-pinch
What steps will reproduce the problem?
1. Load a large image (over 3K x 3K px jpeg for example)
2. try to zoom in
3.
What is the expected output? What do you see instead?
Zoomed image. Instead seeing OutOfMemoryError.
What version of the product are you using? On what operating system?
pinch 0.8 on 2.2 Nexus One
Please provide any additional information below.
Compare the image processing implementation to Google's
ViewImage/ImageViewTouch in camera package that handles large images without
issues
Original issue reported on code.google.com by [email protected]
on 7 Jun 2010 at 9:16
I'm trying to use this to display a very large image (8M)
Simply setting the image src in the layout causes a VM error because it's
too large.
So the solution is:
view = (PinchImageView) findViewById(R.id.image);
BitmapFactory.Options options=new BitmapFactory.Options();
options.inSampleSize = 10;
Bitmap bm =
BitmapFactory.decodeResource(getBaseContext().getResources(),
R.drawable.pic, options);
view.setImageBitmap(bm);
When doing this, bitmap loads, however, it is entirely static and doesn't
respond to any touch events. This is A2.1 on a Nexus One.
Any thoughts on this?
Original issue reported on code.google.com by [email protected]
on 25 Mar 2010 at 1:20
What steps will reproduce the problem?
1. nothing changes in the image pinch window
2.
3.
What is the expected output? What do you see instead?
something, nothing
Some debugging indicates that only MotionEvent.ACTION_DOWN are
being delivered to the PinchImageView. No motion or up events
are appearing.
What version of the product are you using? On what operating system?
0.8 fetched from SVN May 5th
Running on a Droid with 2.1-update 1
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 6 May 2010 at 12:00
plz solve as early as possible
Original issue reported on code.google.com by [email protected]
on 24 Dec 2011 at 2:46
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.