Title: implement means to specify smoothing with PImage.resize() · Issue #204 · processing/processing · GitHub
Open Graph Title: implement means to specify smoothing with PImage.resize() · Issue #204 · processing/processing
X Title: implement means to specify smoothing with PImage.resize() · Issue #204 · processing/processing
Description: Original author: b...@processing.org (June 07, 2010 01:13:31) This bug automatically added from: http://dev.processing.org/bugs/show_bug.cgi?id=1195 Comment from -RoB-, 2009-03-10 16:22 As part of the cleaning up of the API for PImage in...
Open Graph Description: Original author: b...@processing.org (June 07, 2010 01:13:31) This bug automatically added from: http://dev.processing.org/bugs/show_bug.cgi?id=1195 Comment from -RoB-, 2009-03-10 16:22 As part of ...
X Description: Original author: b...@processing.org (June 07, 2010 01:13:31) This bug automatically added from: http://dev.processing.org/bugs/show_bug.cgi?id=1195 Comment from -RoB-, 2009-03-10 16:22 As part of ...
Mail addresses
b...@processing.org
Opengraph URL: https://github.com/processing/processing/issues/204
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"implement means to specify smoothing with PImage.resize()","articleBody":"_Original author: b...@processing.org (June 07, 2010 01:13:31)_\n\nThis bug automatically added from:\nhttp://dev.processing.org/bugs/show_bug.cgi?id=1195\n\nComment from -RoB-, 2009-03-10 16:22\n\nAs part of the cleaning up of the API for PImage in Revision 4720, the internal blit function \nwas hard-coded to use bilinear filtering with the following at line 1428:\n\n boolean smooth = true; // may as well go with the smoothing these days\n\nI would like to question the logic behind this change. While I understand the thinking behind \nthis comment, there are some occasions when using nearest neighbour to blit is desired, e.g., \nto achieve pixelation when zooming into an image.\n\nCan the old behavior, using smooth() and noSmooth() to control the use of bilinear filtering, \nbe reinstated?\n\n---\n\nNOTE: This change to the blit function has made the documentation for copy() misleading, as \nthe image in the documentation clearly shows pixelation.\n\n PImage img = loadImage(\"eames.jpg\");\n image(img, 0, 0);\n copy(15, 25, 10, 10, 35, 25, 50, 50);\n\nThe example code is inaccurate in other ways (stroke color and rect position) but these are \nperhaps less problematic than the representation of the effect of copying a small area to a \nlarger one.\n\n_Original issue: http://code.google.com/p/processing/issues/detail?id=165_\n","author":{"url":"https://github.com/processing-bugs","@type":"Person","name":"processing-bugs"},"datePublished":"2013-02-10T16:07:33.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/204/processing/issues/204"}
| 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:ba66752c-4092-c7c7-b468-aceff0265318 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BB2C:22FC2D:E79372:1445576:69722F05 |
| html-safe-nonce | 83f740141d102e8c72d2574288dc6bcf671307334a931c00a1026f223c5ec05d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjJDOjIyRkMyRDpFNzkzNzI6MTQ0NTU3Njo2OTcyMkYwNSIsInZpc2l0b3JfaWQiOiI2MzMxODk4NzUzODU4MDIzMTczIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b95172ecef5d8e567db426559c5ed9df5e17cdc246c26ab26fb689bc61aab291 |
| hovercard-subject-tag | issue:10824275 |
| 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/processing/processing/204/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a3828ee0dd6529ad373631f63578c06d468b08213787735d37a92df88755e954/processing/processing/issues/204 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a3828ee0dd6529ad373631f63578c06d468b08213787735d37a92df88755e954/processing/processing/issues/204 |
| og:image:alt | Original author: b...@processing.org (June 07, 2010 01:13:31) This bug automatically added from: http://dev.processing.org/bugs/show_bug.cgi?id=1195 Comment from -RoB-, 2009-03-10 16:22 As part of ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | processing-bugs |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2c16db4e575031f6e3be03e0437c1ab663e0b4643ba5cbbfba48c1e4fc056a11 |
| turbo-cache-control | no-preview |
| go-import | github.com/processing/processing git https://github.com/processing/processing.git |
| octolytics-dimension-user_id | 1617169 |
| octolytics-dimension-user_login | processing |
| octolytics-dimension-repository_id | 7807399 |
| octolytics-dimension-repository_nwo | processing/processing |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 7807399 |
| octolytics-dimension-repository_network_root_nwo | processing/processing |
| 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 | a12ab519e1537fa080535ea933f81d4fcef34da0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width