Title: Pad + Down Desired Functionality · Issue #8 · riapi/riapi · GitHub
Open Graph Title: Pad + Down Desired Functionality · Issue #8 · riapi/riapi
X Title: Pad + Down Desired Functionality · Issue #8 · riapi/riapi
Description: I believe there is an ambiguity for the case of mode=pad and scale=down. The spec states: mode=pad: the image will be evenly padded with whitespace or transparency to become exactly the specified size while maintaining aspect ratio scale...
Open Graph Description: I believe there is an ambiguity for the case of mode=pad and scale=down. The spec states: mode=pad: the image will be evenly padded with whitespace or transparency to become exactly the specified s...
X Description: I believe there is an ambiguity for the case of mode=pad and scale=down. The spec states: mode=pad: the image will be evenly padded with whitespace or transparency to become exactly the specified s...
Opengraph URL: https://github.com/riapi/riapi/issues/8
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Pad + Down Desired Functionality","articleBody":"I believe there is an ambiguity for the case of mode=pad and scale=down.\n\nThe spec states:\n\nmode=pad: the image will be evenly padded with whitespace or transparency to become **exactly the specified size** while maintaining aspect ratio\n\nscale=down: If the constraints are larger than the source image, the resulting image will use the source dimensions instead, **foregoing any** cropping, **padding**, or stretching\n\nI am not clear on the desired behavior for the following two test cases given a target size of 800x600:\n\nSource size of 400x300, should output size be:\n- 800x600 with padding all around?\n- 400x300 with no padding?\n\nSource size of 1200x300, should output size be:\n- 800x600, with padding on sides?\n- 800x200, with no padding?\n","author":{"url":"https://github.com/kevinjdolan","@type":"Person","name":"kevinjdolan"},"datePublished":"2013-08-16T20:34:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/8/riapi/issues/8"}
| 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:cacd273c-265a-0a65-5f6b-aa478f032e17 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D068:202362:3B65C61:4C67629:69801E49 |
| html-safe-nonce | de6a4476b1538d3684c985f1ceef997dabe7020440adebf4aeae31e739d76e5a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDY4OjIwMjM2MjozQjY1QzYxOjRDNjc2Mjk6Njk4MDFFNDkiLCJ2aXNpdG9yX2lkIjoiODc3OTM3OTI4NzU5NDYzODkyMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 471915a344cd954a65f736f890e199162c20dd7cdc910821de9061c464997ecd |
| hovercard-subject-tag | issue:18177477 |
| 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/riapi/riapi/8/issue_layout |
| twitter:image | https://opengraph.githubassets.com/dda95f06dacff027812a0e47e01af323603dba0c26a8f2aec561e2301cfdd1f1/riapi/riapi/issues/8 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/dda95f06dacff027812a0e47e01af323603dba0c26a8f2aec561e2301cfdd1f1/riapi/riapi/issues/8 |
| og:image:alt | I believe there is an ambiguity for the case of mode=pad and scale=down. The spec states: mode=pad: the image will be evenly padded with whitespace or transparency to become exactly the specified s... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kevinjdolan |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| go-import | github.com/riapi/riapi git https://github.com/riapi/riapi.git |
| octolytics-dimension-user_id | 1971918 |
| octolytics-dimension-user_login | riapi |
| octolytics-dimension-repository_id | 5021397 |
| octolytics-dimension-repository_nwo | riapi/riapi |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 5021397 |
| octolytics-dimension-repository_network_root_nwo | riapi/riapi |
| 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 | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width