naver / android-imagecropview

android image crop library
Apache License 2.0
254 stars 55 forks source link

save and restore current crop settings #10

Closed maciejrozanski closed 8 years ago

maciejrozanski commented 8 years ago

Hi,

I have following scenario: I want to save crop settings for particular image, save it and then have possibility to restore it to ImageCropView. Is it possible? I was trying with getImageViewMatrix(), I'm able to restore it using setImageMatrix, but after finger touch whole settings is reseted.

helloyako commented 8 years ago

@maciejrozanski Answer : I'm sorry. not supported.

I did not think restore function. That's good idea.

helloyako commented 8 years ago

@maciejrozanski I have a good news for you. your issues was solved by @brunoschalch. You can check source code in develop branch and #11

I deployed 1.1.0-SNAPSHOT to MAVEN SNAPSHOT REPO

repositories {
    maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
}
dependencies {
    compile 'com.naver.android.helloyako:imagecropview:1.1.0-SNAPSHOT'
}
helloyako commented 8 years ago

solved v1.1.0