)]}'
{
  "commit": "1aa30337f491d50010696bf350631088c04f07ef",
  "tree": "cc13cc3369f9f645d31a1137026ad58a3b2d55ff",
  "parents": [
    "31a6ce372ac9b1d5dfdb5f25d3b38eec9decb34f"
  ],
  "author": {
    "name": "Lei Zhang",
    "email": "thestig@chromium.org",
    "time": "Thu Dec 04 15:24:51 2025 -0800"
  },
  "committer": {
    "name": "Pdfium LUCI CQ",
    "email": "pdfium-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Thu Dec 04 15:24:51 2025 -0800"
  },
  "message": "Improve `pdfium_test --png` implementation\n\nInternally, pdfium_test has a WritePng() function that calls\nEncodePng() with the bitmap format hard-coded to `FPDFBitmap_BGRA`, even\nif the bitmap format is actually `FPDFBitmap_BGRx`. Add a bool to\nstruct BitmapAttributes to indicate whether the page has an alpha value.\nThen use it in WritePng() to select the bitmap format appropriately.\n\nChange-Id: Ib439fe0afbfd282e568b6f54491a2ef9ba290d9f\nReviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/138851\nReviewed-by: Tom Sepez \u003ctsepez@chromium.org\u003e\nCommit-Queue: Lei Zhang \u003cthestig@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2a25b043f446566482c196ea057b79fcb2b8e874",
      "old_mode": 33188,
      "old_path": "testing/helpers/write.cc",
      "new_id": "d81f8ce2c0156b22a5ea745bab88ea4df0d741b6",
      "new_mode": 33188,
      "new_path": "testing/helpers/write.cc"
    },
    {
      "type": "modify",
      "old_id": "226b063c3526aa2695bf4054c8c8b301ad0fb9b3",
      "old_mode": 33188,
      "old_path": "testing/helpers/write.h",
      "new_id": "1b2bb3f05e7081821fbca8f6d26483d63468239d",
      "new_mode": 33188,
      "new_path": "testing/helpers/write.h"
    },
    {
      "type": "modify",
      "old_id": "e9773da222ec7a3688bc2507d7f987c896e7a6ab",
      "old_mode": 33188,
      "old_path": "testing/pdfium_test.cc",
      "new_id": "b0495d9c944c57252a77a78fae14796ed270cdcb",
      "new_mode": 33188,
      "new_path": "testing/pdfium_test.cc"
    }
  ]
}
