mirror of
https://github.com/IacobIonut01/ReFra.git
synced 2026-11-24 12:11:11 +00:00
Media Gallery app for Android made with Jetpack Compose
- Kotlin 94.4%
- MDX 1.7%
- JavaScript 1.1%
- Astro 0.9%
- C 0.5%
- Other 1.3%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
The photo editor's crop tool only produced rectangles, and users asked for circular crops (profile pictures, stickers). Circle and Rounded square are now offered in the crop aspect menu, below the ratios. - The shape is part of the recipe: PhotoGeometry gains a shape (PhotoCropShape), stored in projects only when it is not a rectangle, so older projects read back unchanged. - The retouch stage clips the finished output to the shape as its last step, in absolute output coordinates, so the preview, the banded export and zone renders agree. A shaped crop keeps the preview on the CPU path, since the shader preview does not run that stage. - Both shaped presets lock the frame to 1:1 and set the shape in one undo step; any other preset returns to a rectangle. The menu label follows the recipe after undo or redo, and a remembered shape is never reapplied when the tool opens on an untouched photo. - While cropping, the canvas dims the corners outside the shape and traces its outline; crop preview mode leaves the shape out so the whole source stays visible behind the frame. - Transparent results (a shaped crop or a removed background) bound for a container without alpha now ask for PNG or WebP in a "Keep transparency" sheet before saving. PhotoInfo records whether the source keeps alpha, so a PNG source still saves in place, and the session falls back to PNG if a caller skips the question. WebP now keeps alpha for removed backgrounds as well. - The crop and saving docs pages describe the shapes and the new format choice. Verification: - :editor:ui:desktopTest --tests EditorGeometryTest (20/20) and the new CropToolUiTest cases (circle locks 1:1, undo restores the strip, shaped JPEG save asks and writes PNG) - :editor:render:desktopTest --tests PhotoRetouchTest (14/14) and :editor:core:desktopTest --tests PhotoProjectCodecTest (9/9) - :app:androidApp:compileArm64-v8aNoMLStagingKotlin and installArm64-v8aNoMLStaging; on the Pixel 6 a circle crop of a JPEG showed the mask preview, asked for a format and saved a 960x960 RGBA WebP with transparent corners - website npm run build; check-style passes; git diff --check clean Fixes #1481 |
||
| .github | ||
| app | ||
| editor | ||
| fastlane/metadata/android/en-US | ||
| gradle | ||
| kotlin-js-store/wasm | ||
| ml-models/src/main/assets | ||
| plugins | ||
| screenshots | ||
| scripts | ||
| website | ||
| .gitattributes | ||
| .gitignore | ||
| app.properties | ||
| build.gradle.kts | ||
| crowdin.yml | ||
| gradle.properties | ||
| gradlew | ||
| gradlew.bat | ||
| LICENSE | ||
| README.md | ||
| renovate.json | ||
| settings.gradle.kts | ||
| stability_config.conf | ||
ReFra
An Android Gallery app built with Jetpack Compose.
The goal of this project is to create and bring the Gallery app everyone wants, with the features everyone needs. FOSS
Download
Support
- Translate the project using the link from above
- Donations:
- Use the links on the right side of the repo (Sponsor me)
- More options available in-app (Settings -> Donate)
Frequent Questions
- Why 'ReFra'?
- Refra is a short form of 'refraction', which is the bending of light when it passes through different mediums. This app aims to refract our perception of media files, making them more accessible and easier to manage.
- What is the
offlinevariant?- The
offlinevariant is a version of the app with all online features removed — maps, cloud provider support (Immich, ownCloud, etc.), and any functionality that requires an internet connection, even on a local network. This is useful for users who want a fully self-contained gallery with no network permissions.
- The
- Why Google Play version is 'Paid'?
- It's just another way to support the project while getting back automatic updates via Google Play
- Why Android 11 is the minimum version required?
- Some Media features and APIs require Android 11 as a minimum version [Trash feature, most APIs used in the app]
- Will you support lower android versions?
- While this is not a priority right now, I do have in mind to include support for lower Android versions at a cost of reduced features. If anyone volntueers to do so before me can request a pull request.
- Can I verify the downloaded APK file?
- Checksums of APKs are provided in the release notes. The signing certificate fingerprint is listed below:
- SHA-256:
78:46:05:DD:50:75:BE:05:82:78:A5:42:5C:BD:E5:21:31:62:CB:B4:59:1B:44:28:F4:4E:75:E0:8C:C6:43:8A - SHA-1:
AD:93:69:27:F2:3B:33:99:FC:C0:B2:8A:25:44:C8:1C:AA:42:B0:9A - MD5:
73:FC:3C:60:14:D3:69:6D:1B:DA:34:F1:BF:5A:33:3C
- SHA-256:
- Checksums of APKs are provided in the release notes. The signing certificate fingerprint is listed below:
- Will you add [X] feature?
- Please open a new feature request under 'Issues' tab and if the feature will be considered useful and possible can be added.
- Can you remove permission [X]?
- Several permissions (e.g. Internet connectivity, location) are for showing a map preview of your current photo location data. If you do not need this feature, you can download an
offlinerelease from the Releases page.
- Several permissions (e.g. Internet connectivity, location) are for showing a map preview of your current photo location data. If you do not need this feature, you can download an






