{"action":"created","issue":{"url":"https://api.github.com/repos/processing/processing/issues/3032","labels_url":"https://api.github.com/repos/processing/processing/issues/3032/labels{/name}","comments_url":"https://api.github.com/repos/processing/processing/issues/3032/comments","events_url":"https://api.github.com/repos/processing/processing/issues/3032/events","html_url":"https://github.com/processing/processing/issues/3032","id":53512222,"number":3032,"title":"blendMode() and tint() with alpha do not work together","user":{"login":"cdaein","id":3522003,"avatar_url":"https://avatars.githubusercontent.com/u/3522003?v=3","gravatar_id":"","url":"https://api.github.com/users/cdaein","html_url":"https://github.com/cdaein","followers_url":"https://api.github.com/users/cdaein/followers","following_url":"https://api.github.com/users/cdaein/following{/other_user}","gists_url":"https://api.github.com/users/cdaein/gists{/gist_id}","starred_url":"https://api.github.com/users/cdaein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdaein/subscriptions","organizations_url":"https://api.github.com/users/cdaein/orgs","repos_url":"https://api.github.com/users/cdaein/repos","events_url":"https://api.github.com/users/cdaein/events{/privacy}","received_events_url":"https://api.github.com/users/cdaein/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-06T12:56:52Z","updated_at":"2015-01-07T01:45:07Z","closed_at":null,"body":"When blendMode is called and tint() with alpha value is used for images, the alpha value is ignored.\r\n\r\nI was expecting something similar to how Photoshop works - the colors will blend AND the alpha value will be kept.\r\n\r\nPlease see example below.\r\n\r\n```processing\r\nPImage img1;\r\nPImage img2;\r\n\r\nfloat d = 0;\r\n\r\nvoid setup() {\r\n  size(400, 400);\r\n  \r\n  img1 = loadImage(\"1.jpg\");\r\n  img2 = loadImage(\"2.jpg\");\r\n}\r\n\r\nvoid draw() {\r\n  background(255);\r\n  \r\n  // comment next line to see the difference\r\n  blendMode(MULTIPLY);\r\n  \r\n  tint(255);\r\n  image(img1, 0, 0);\r\n  \r\n  tint(255, d);\r\n  image(img2, 0, 0);\r\n  \r\n  d = map(mouseX, 0, width, 0, 255);\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/processing/processing/issues/comments/68967044","html_url":"https://github.com/processing/processing/issues/3032#issuecomment-68967044","issue_url":"https://api.github.com/repos/processing/processing/issues/3032","id":68967044,"user":{"login":"cdaein","id":3522003,"avatar_url":"https://avatars.githubusercontent.com/u/3522003?v=3","gravatar_id":"","url":"https://api.github.com/users/cdaein","html_url":"https://github.com/cdaein","followers_url":"https://api.github.com/users/cdaein/followers","following_url":"https://api.github.com/users/cdaein/following{/other_user}","gists_url":"https://api.github.com/users/cdaein/gists{/gist_id}","starred_url":"https://api.github.com/users/cdaein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdaein/subscriptions","organizations_url":"https://api.github.com/users/cdaein/orgs","repos_url":"https://api.github.com/users/cdaein/repos","events_url":"https://api.github.com/users/cdaein/events{/privacy}","received_events_url":"https://api.github.com/users/cdaein/received_events","type":"User","site_admin":false},"created_at":"2015-01-07T01:45:07Z","updated_at":"2015-01-07T01:45:07Z","body":"forgot to add my system info - Processing 2.2.1 on Mac OS X 10.10.1 Yosemite"}}