-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bitmap compression #14
Merged
Merged
Changes from 3 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
00d739f
bitmap compress and exif copy
dinitri de318c1
add package name for new class
dinitri de3ceb1
remove comment
parveshneedhoo 81961ec
ios compress image
parveshneedhoo fe7cfbf
compress and copy exif ios
parveshneedhoo d5ce77b
fix error on ios
parveshneedhoo 4a7a4b4
remove spectrum
dinitri 09e99d1
update header file
dinitri fb35179
import dependency and custom class
dinitri 87f853d
add package
dinitri f6e784f
update plugin
dinitri 801ab62
fix pavkage path"
dinitri 17132bc
Merge pull request #15 from spoonconsulting/remove-spectrum
dinitri File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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,72 @@ | ||
package com.spoon.spectrum; | ||
|
||
import androidx.camera.core.impl.utils.Exif; | ||
import androidx.exifinterface.media.ExifInterface; | ||
|
||
public class SpoonCameraExif { | ||
public static final String[] COMMON_TAGS = { | ||
ExifInterface.TAG_MAKE, | ||
ExifInterface.TAG_MODEL, | ||
ExifInterface.TAG_DATETIME, | ||
ExifInterface.TAG_ORIENTATION, | ||
ExifInterface.TAG_GPS_LATITUDE, | ||
ExifInterface.TAG_GPS_LONGITUDE, | ||
ExifInterface.TAG_GPS_ALTITUDE, | ||
ExifInterface.TAG_IMAGE_WIDTH, | ||
ExifInterface.TAG_IMAGE_LENGTH, | ||
ExifInterface.TAG_EXPOSURE_TIME, | ||
ExifInterface.TAG_APERTURE_VALUE, | ||
ExifInterface.TAG_FOCAL_LENGTH, | ||
ExifInterface.TAG_WHITE_BALANCE, | ||
ExifInterface.TAG_FLASH, | ||
ExifInterface.TAG_SOFTWARE, | ||
ExifInterface.TAG_Y_CB_CR_POSITIONING, | ||
ExifInterface.TAG_X_RESOLUTION, | ||
ExifInterface.TAG_Y_RESOLUTION, | ||
ExifInterface.TAG_RESOLUTION_UNIT, | ||
ExifInterface.TAG_F_NUMBER, | ||
ExifInterface.TAG_EXPOSURE_PROGRAM, | ||
ExifInterface.TAG_RW2_ISO, | ||
ExifInterface.TAG_EXIF_VERSION, | ||
ExifInterface.TAG_DATETIME_ORIGINAL, | ||
ExifInterface.TAG_OFFSET_TIME, | ||
ExifInterface.TAG_OFFSET_TIME_ORIGINAL, | ||
ExifInterface.TAG_OFFSET_TIME_DIGITIZED, | ||
ExifInterface.TAG_SHUTTER_SPEED_VALUE, | ||
ExifInterface.TAG_BRIGHTNESS_VALUE, | ||
ExifInterface.TAG_MAX_APERTURE_VALUE, | ||
ExifInterface.TAG_METERING_MODE, | ||
ExifInterface.TAG_FLASHPIX_VERSION, | ||
ExifInterface.TAG_COMPONENTS_CONFIGURATION, | ||
ExifInterface.TAG_SUBSEC_TIME, | ||
ExifInterface.TAG_SUBSEC_TIME_ORIGINAL, | ||
ExifInterface.TAG_SUBSEC_TIME_DIGITIZED, | ||
ExifInterface.TAG_COLOR_SPACE, | ||
ExifInterface.TAG_SCENE_TYPE, | ||
ExifInterface.TAG_CUSTOM_RENDERED, | ||
ExifInterface.TAG_EXPOSURE_MODE, | ||
ExifInterface.TAG_DIGITAL_ZOOM_RATIO, | ||
ExifInterface.TAG_FOCAL_LENGTH_IN_35MM_FILM, | ||
"FocalLengthIn35mmFormat", | ||
ExifInterface.TAG_SCENE_CAPTURE_TYPE, | ||
ExifInterface.TAG_CONTRAST, | ||
ExifInterface.TAG_SATURATION, | ||
ExifInterface.TAG_SHARPNESS, | ||
ExifInterface.TAG_IMAGE_UNIQUE_ID, | ||
ExifInterface.TAG_GPS_VERSION_ID, | ||
ExifInterface.TAG_GPS_LATITUDE_REF, | ||
ExifInterface.TAG_GPS_LONGITUDE_REF, | ||
ExifInterface.TAG_GPS_ALTITUDE_REF, | ||
ExifInterface.TAG_GPS_DATESTAMP, | ||
ExifInterface.TAG_GPS_TIMESTAMP, | ||
ExifInterface.TAG_GPS_PROCESSING_METHOD, | ||
"latitude", | ||
"longitude", | ||
"ModifyDate", | ||
"CreateDate", | ||
"ExposureCompensation", | ||
"ExifImageWidth", | ||
"ExifImageHeight" | ||
}; | ||
|
||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use of an enum?