Giter Site home page Giter Site logo

android-pinch's People

android-pinch's Issues

Support large images

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

Does not work for large images passed with view.setImageBitmap(bm);

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

Image zoom doesn't work, web and map do

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

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.