)]}'
{
  "commit": "7b5cb7854dfd7dc1ecf2af96ee1200ca3b9dc139",
  "tree": "32d76eeaa02199862c0c74e26fb015fcd28dcae9",
  "parents": [
    "746bdf7d8bbb91bd84d36c3e8f56df07d875e2d7"
  ],
  "author": {
    "name": "Lei Zhang",
    "email": "thestig@chromium.org",
    "time": "Fri Apr 04 10:13:10 2025 -0700"
  },
  "committer": {
    "name": "Pdfium LUCI CQ",
    "email": "pdfium-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Fri Apr 04 10:13:10 2025 -0700"
  },
  "message": "Change FPDFImageObj_GetRenderedBitmap() to take clip path into account\n\nIf there exists a clip path for a bitmap, then only part of the bitmap\nshould be rendered. Change FPDFImageObj_GetRenderedBitmap() to take the\nclip path into account. To do so, the clip path has to be transformed to\nmatch the image:\n\n1) The image may have been transformed by PDFium APIs.\n2) The image has to be transformed from where it is on the page to fit\n   into the output bitmap.\n\nAfter which, the clip path needs to be transformed one more time to be\nflipped around, which is what CPDF_RenderStatus::ProcessClipPath()\nexpects, similar to CPDF_ImageRenderer::Start().\n\nBug: 406540676\nChange-Id: I28eca20d4becf799be54d0cf093af31ba7f4c4f7\nReviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/130450\nReviewed-by: Tom Sepez \u003ctsepez@chromium.org\u003e\nCommit-Queue: Lei Zhang \u003cthestig@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a149e5e55bcf1a4c381fc363c8464e6aae4f1229",
      "old_mode": 33188,
      "old_path": "fpdfsdk/fpdf_editimg.cpp",
      "new_id": "5baf5120438a62f26a11ecae7e64eab0a560c22d",
      "new_mode": 33188,
      "new_path": "fpdfsdk/fpdf_editimg.cpp"
    }
  ]
}
