Android Question How to select a small part of JPG file and save it into antoher JPG?

Discussion in 'Android Questions' started by pablo77, May 12, 2015.


How to select a small part of a JPG file and save it into antoher JPG?

  1. There's already a post on the forum talking about it

  2. There are currently functions to do it

Multiple votes are allowed.
Results are only viewable after voting.
  1. pablo77

    pablo77 New Member Licensed User

    Hello everybody,

    Let me introduce myself... My name is Pablo. I'm from Buenos Aires, Argentina.

    I'm new here... Even though I've been reading many posts lately, learning a lot from the valuable information available, this is the first time I write...

    I would like to do something using B4A that actually don't know how to do. Coulnd't find anyone talking about it on the forum (should I look better??)... I'm currently preparing a B4A app that, after taking a picture, can open that file (or just open any other JPG) and let the user select just a portion of the picture and save it (using another file name).

    Could any of you guys point me some material / tutorials I can read? Are there any useful functions I can use? As I said... I basically need to select a part of an original JPG being then able to save it into another JPG file.

    Thanks in advance,

  2. walterf25

    walterf25 Well-Known Member Licensed User

    Hola Pablo, mucho gusto, off the top of my head, i believe you should be able to use a cropping image function to do this, I've seen a few libraries that do this, just do a search for Crop Image and it should return some results.

    Actually, I found some here

    good luck!

    eurojam likes this.
  3. klaus

    klaus Expert Licensed User

    Did you have a look at THIS ?
  4. pablo77

    pablo77 New Member Licensed User

    walterf25, kalus... many thanks for your help!! :)
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice