Title: scale down matching max size · Issue #146 · blueimp/JavaScript-Load-Image · GitHub
Open Graph Title: scale down matching max size · Issue #146 · blueimp/JavaScript-Load-Image
X Title: scale down matching max size · Issue #146 · blueimp/JavaScript-Load-Image
Description: Hey is there any way to make the image a max size when scaling? Like give the max width, the max height but also the max byte length? and match all of those? Right now I am looping and reducing the quality until I match the desired weigh...
Open Graph Description: Hey is there any way to make the image a max size when scaling? Like give the max width, the max height but also the max byte length? and match all of those? Right now I am looping and reducing the...
X Description: Hey is there any way to make the image a max size when scaling? Like give the max width, the max height but also the max byte length? and match all of those? Right now I am looping and reducing the...
Opengraph URL: https://github.com/blueimp/JavaScript-Load-Image/issues/146
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"scale down matching max size","articleBody":"Hey\r\nis there any way to make the image a max size when scaling?\r\nLike give the max width, the max height but also the max byte length? and match all of those?\r\n\r\nRight now I am looping and reducing the quality until I match the desired weight but it's quite slow...\r\n\r\nCheers\r\n\r\n","author":{"url":"https://github.com/Bilb","@type":"Person","name":"Bilb"},"datePublished":"2022-04-12T00:11:04.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/146/JavaScript-Load-Image/issues/146"}
| 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:67a7c22f-8b31-c4cb-4a36-ac4522f4f990 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A99C:3FE5AD:27FD6F8:35B0BAA:69704BB3 |
| html-safe-nonce | 161aacd3c0c35f3947f36e5c83c042e0dfce9292bfc694158e7c7da17d0ac447 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOTlDOjNGRTVBRDoyN0ZENkY4OjM1QjBCQUE6Njk3MDRCQjMiLCJ2aXNpdG9yX2lkIjoiODA1Mzc0NjE5OTMxNjk0MTc0NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | bd760ed44235327c3e868c69de30286be2ba3f18951474d402eb5d1d6a1dca9d |
| hovercard-subject-tag | issue:1200702476 |
| 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/blueimp/JavaScript-Load-Image/146/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a90a91734c9846c5af403fb136c34720eff73b5cd1f52d0f9524dc08e8ba6520/blueimp/JavaScript-Load-Image/issues/146 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a90a91734c9846c5af403fb136c34720eff73b5cd1f52d0f9524dc08e8ba6520/blueimp/JavaScript-Load-Image/issues/146 |
| og:image:alt | Hey is there any way to make the image a max size when scaling? Like give the max width, the max height but also the max byte length? and match all of those? Right now I am looping and reducing the... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Bilb |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9920a62ba22d06470388e2904804fb7e5ec51c9e35f81784e9191394c74b2bd2 |
| turbo-cache-control | no-preview |
| go-import | github.com/blueimp/JavaScript-Load-Image git https://github.com/blueimp/JavaScript-Load-Image.git |
| octolytics-dimension-user_id | 244586 |
| octolytics-dimension-user_login | blueimp |
| octolytics-dimension-repository_id | 2967938 |
| octolytics-dimension-repository_nwo | blueimp/JavaScript-Load-Image |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 2967938 |
| octolytics-dimension-repository_network_root_nwo | blueimp/JavaScript-Load-Image |
| 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 | f643964067a552f02067066d6a910b2f90a5721f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width