-
Notifications
You must be signed in to change notification settings - Fork 263
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
[Graphics] [Sample] UltraHDR Image compression #117
Conversation
This CL contains sample code for compressing an UltraHDR Images (on API 34 and above) while still maintaining quality How Has This Been Tested? Test Configuration #1 - Pixel 7 Pro API 34 Beta (Android 14 Beta) Checklist I have performed a self-review of my code I have commented my code, particularly in hard-to-understand areas I have made corresponding changes to the documentation Demo The demo shows how to compressing an ultrahdr image and the difference between both. Screenshots
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.
Overall looks good, just a few comments on spacing and why certain things we're removed
) | ||
|
||
class CompressingUltraHDRImages : Fragment() { | ||
|
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.
Why is there all these random spaces? Can we clean this up just a little to not have them?
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.
Ack. Removed.
android:id="@+id/color_mode_controls" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" /> | ||
|
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.
If this is not needed, can you remove it outright?
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.
Ack. Removed
@@ -25,7 +27,7 @@ Demonstrates how to implement data access auditing for your app to identify | |||
- [Displaying UltraHDR](graphics/ultrahdr/src/main/java/com/example/platform/graphics/ultrahdr/display/DisplayingUltraHDR.kt): | |||
This sample demonstrates displaying an UltraHDR image. | |||
- [Displaying UltraHDR (3P Libraries)](graphics/ultrahdr/src/main/java/com/example/platform/graphics/ultrahdr/display/DisplayingUltraHDRUsing3PLibrary.kt): | |||
This sample demonstrates using the various popular image loading libraries to display Ultra HDR images | |||
This sample demonstrates using the various popular image loading library to |
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.
Why was this changed?
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.
Ack. was edited by mistake. Restored.
This CL contains sample code for compressing an UltraHDR Images (on API 34 and above) while still maintaining quality How Has This Been Tested? Test Configuration #1 - Pixel 7 Pro API 34 Beta (Android 14 Beta) Checklist I have performed a self-review of my code I have commented my code, particularly in hard-to-understand areas I have made corresponding changes to the documentation Demo The demo shows how to compressing an ultrahdr image and the difference between both. Screenshots
This CL contains sample code for compressing an UltraHDR Images (on API 34 and above) while still maintaining quality How Has This Been Tested? Test Configuration #1 - Pixel 7 Pro API 34 Beta (Android 14 Beta) Checklist I have performed a self-review of my code I have commented my code, particularly in hard-to-understand areas I have made corresponding changes to the documentation Demo The demo shows how to compressing an ultrahdr image and the difference between both. Screenshots
This CL contains sample code for compressing an UltraHDR Images (on API 34 and above) while still maintaining quality of the ultrahdr image
How Has This Been Tested?
Test Configuration #1 - Pixel 7 Pro API 34 Beta (Android 14 Beta)
Checklist
I have performed a self-review of my code
I have commented my code, particularly in hard-to-understand areas I have made corresponding changes to the documentation
Demo
The demo shows how to compressing an ultrahdr image and the difference between both.
Screenshots