Title: Replay: internal screenshot format · Issue #4154 · getsentry/sentry-java · GitHub
Open Graph Title: Replay: internal screenshot format · Issue #4154 · getsentry/sentry-java
X Title: Replay: internal screenshot format · Issue #4154 · getsentry/sentry-java
Description: Description I'm switching Flutter to using onScreenshotRecorded(Bitmap) and I've noticed a degradation in visual quality. I believe it is because the original code, which used the File based API, saved the screenshot to PNG, while the na...
Open Graph Description: Description I'm switching Flutter to using onScreenshotRecorded(Bitmap) and I've noticed a degradation in visual quality. I believe it is because the original code, which used the File based API, s...
X Description: Description I'm switching Flutter to using onScreenshotRecorded(Bitmap) and I've noticed a degradation in visual quality. I believe it is because the original code, which used the File base...
Opengraph URL: https://github.com/getsentry/sentry-java/issues/4154
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Replay: internal screenshot format","articleBody":"### Description\n\nI'm switching Flutter to using `onScreenshotRecorded(Bitmap)` and I've noticed a degradation in visual quality. I believe it is because the original code, which used the `File` based API, saved the screenshot to PNG, while the native Bitmap implementation uses JPG.\n\nPreviously, with Flutter generated PNG: https://sentry-sdks.sentry.io/replays/2e9baae198384b6387e4e3f497070382/?project=5428562&query=release%3Aoss.krtirtho.spotube.dev%403.9.0-dev%2B38&referrer=%2Freplays%2F%3AreplaySlug%2F&statsPeriod=90d&yAxis=count%28%29&t=0\n\n\u003cimg width=\"340\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/6b7d5540-6b08-4391-9877-46e4be56c5a8\" />\n\nNew, with Android JPG from Bitmap: https://sentry-sdks.sentry.io/replays/0a8ff56225b74dbf93b519043224fe54/?project=5428562&query=release%3Aoss.krtirtho.spotube.dev%403.9.0-dev%2B38&referrer=%2Freplays%2F%3AreplaySlug%2F&statsPeriod=90d&t_main=tags&yAxis=count%28%29&t=2\n\n\u003cimg width=\"334\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/f326cba6-5ecf-402e-8b3b-6945b5a1ae1a\" />\n\nYou can clearly see JPG-specific artifacts in the new version. Interestingly, the new version also results in a video that is larger than previously, at the same resolution, although some of that could be attributed to a slightly different content because the testing app uses random images in button backgrounds.\n\nHave you considered PNG as the screenshot format when saving to file? If not, I'd suggest we evaluate this from the performance perspective, as the quality should be a no-brainer.","author":{"url":"https://github.com/vaind","@type":"Person","name":"vaind"},"datePublished":"2025-02-10T09:45:21Z","url":"https://github.com/getsentry/sentry-java/issues/4154"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:57523fb4-4752-c2a2-a4aa-c02d539cca60 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D79C:3C4279:591867:7DE522:6B0477C0 |
| html-safe-nonce | f6dd8966121cacfd95f60345be512ce093bc7a3ffd786ddb19eb5545e95ce32b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzlDOjNDNDI3OTo1OTE4Njc6N0RFNTIyOjZCMDQ3N0MwIiwidmlzaXRvcl9pZCI6IjcxNTE5NDU5NzM2MzAyNjkzNzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ec82eca593a9add1505a24fd8c4ed805cf27708a8c5475df733ed5ee996a11bf |
| hovercard-subject-tag | issue:2841876819 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-java/4154/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c450cfe102b7494527e46d90093f7d5997e1393c752cf58afd3b38830096166a/getsentry/sentry-java/issues/4154 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c450cfe102b7494527e46d90093f7d5997e1393c752cf58afd3b38830096166a/getsentry/sentry-java/issues/4154 |
| og:image:alt | Description I'm switching Flutter to using onScreenshotRecorded(Bitmap) and I've noticed a degradation in visual quality. I believe it is because the original code, which used the File based API, s... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vaind |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9c099f1b85def81ca352464c276510dfef32deaf3c305404e65b8d270284a58b |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-java git https://github.com/getsentry/sentry-java.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3368190 |
| octolytics-dimension-repository_nwo | getsentry/sentry-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3368190 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cf73f57448d52b3a7b619195e182b33d3b3454ca |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width