-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#15: Define crop box size or aspect ratio
- Loading branch information
Showing
5 changed files
with
144 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
* > Feature [#35](https://github.com/k3b/LosslessJpgCrop/issues/35) : Display current crop box coordinates and size | ||
* v Show XY offset of top left corner of crop box displayed along with it's dimensions. | ||
* > snap to multible of 8 | ||
* > Feature [#15](https://github.com/k3b/LosslessJpgCrop/issues/15) : Define crop box size or aspect ratio | ||
* v if you set width and height to a value below 100 then you define the aspect ratio of the cropping result | ||
* v if you set width and height to a value above 100 then you define the absolute size in pixel of the cropping result. | ||
* > menu to define free/square/predefined/userdefined |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<menu xmlns:tools="http://schemas.android.com/tools" | ||
xmlns:android="http://schemas.android.com/apk/res/android" > | ||
|
||
<item android:id="@+id/menu_aspect_ratio" | ||
|
||
android:showAsAction="ifRoom" | ||
android:icon="@android:drawable/ic_menu_crop" | ||
android:title="Aspect Ratio" | ||
android:orderInCategory="70" | ||
tools:ignore="AppCompatResource" > | ||
<menu> | ||
<item android:id="@+id/menu_ratio_free" | ||
android:showAsAction="never" | ||
android:title="Free" | ||
android:checkable="true" | ||
android:checked="true" | ||
tools:ignore="AppCompatResource" /> | ||
<item android:id="@+id/menu_ratio_square" | ||
android:showAsAction="never" | ||
android:title="Square" | ||
android:checkable="true" | ||
tools:ignore="AppCompatResource" /> | ||
<item android:id="@+id/menu_ratio_userdefined" | ||
android:showAsAction="never" | ||
android:title="userdefined" | ||
android:checkable="true" | ||
tools:ignore="AppCompatResource" /> | ||
|
||
<item android:title="9x11" /> | ||
<item android:title="9x13" /> | ||
<item android:title="9x15" /> | ||
<item android:title="10x13" /> | ||
<item android:title="10x15" /> | ||
<item android:title="13x18" /> | ||
<!-- | ||
/* | ||
Format 3:4: | ||
9x11,10x13,11x15,13x17,20x27,30x40 | ||
Format 2:3: | ||
9x13,10x15,11x17,13x18,20x30,30x45 | ||
Format 9:16: | ||
9x15,10x18 | ||
*/ | ||
--> | ||
</menu> | ||
</item> | ||
</menu> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
New Feature [#35 Display crop box coordinates and size](https://github.com/k3b/LosslessJpgCrop/issues/35) | ||
?? #15 predefined crop size | ||
??? #15 predefined crop size |