{"push_id":1281210958,"size":9,"distinct_size":9,"ref":"refs/heads/feature/RpImage-rework","head":"49a5397769cdab7faf2b728f9b16932bc5aa1360","before":"eed4edc1e2bb40a792be207c532cabdf5c5d221a","commits":[{"sha":"d385e34058d8746697dce834749d13ffc5191411","author":{"name":"David Korth","email":"f909f172679774d77bfe2de78821a60cfa9830a9@gerbilsoft.com"},"message":"[libromdata/tests] RpImageLoaderTest: Verify the rp_image's width, height, and format.","distinct":true,"url":"https://api.github.com/repos/GerbilSoft/rom-properties/commits/d385e34058d8746697dce834749d13ffc5191411"},{"sha":"742b6d613d48d84bb115d3783ca292e03c8c489d","author":{"name":"David Korth","email":"f909f172679774d77bfe2de78821a60cfa9830a9@gerbilsoft.com"},"message":"[libromdata] RpImageLoaderTest: Check the rp_image's width, height, and format.","distinct":true,"url":"https://api.github.com/repos/GerbilSoft/rom-properties/commits/742b6d613d48d84bb115d3783ca292e03c8c489d"},{"sha":"938b7507eb88bb89e7373432e19146b3fb8f2e24","author":{"name":"David Korth","email":"f909f172679774d77bfe2de78821a60cfa9830a9@gerbilsoft.com"},"message":"[libromdata] RpImageLoaderTest: Parse the IHDR manually and verify it.\n\nNew function Load_Verify_IHDR() that loads, byteswaps, and verifies an\nIHDR chunk from a PNG file. Assertions will be thrown if any fields in\nthe chunk are incorrect.\n\npng_chunks.h: New definitions for the IHDR data and the full IHDR chunk,\nincluding chunk size, chunk name, and CRC32.\n\nThe test parameter now contains a PNG_IHDR_t.\n\nFIXME: RpImageLoaderTest_mode has weird values if ihdr is of type\nconst PNG_IHDR_t& instead of const PNG_IHDR_t.","distinct":true,"url":"https://api.github.com/repos/GerbilSoft/rom-properties/commits/938b7507eb88bb89e7373432e19146b3fb8f2e24"},{"sha":"3dbbc2e13a13fc158db36cc537d95dddc91c2789","author":{"name":"David Korth","email":"f909f172679774d77bfe2de78821a60cfa9830a9@gerbilsoft.com"},"message":"[libromdata/tests] RpImageLoaderTest: Added PNG_COLOR_TYPE_GRAY test images.\n\nRpPng_libpng.cpp: Removed assertions from PNG_COLOR_TYPE_GRAY and\nPNG_COLOR_TYPE_GRAY_ALPHA. These types aren't supported yet, so\nthey'll just return nullptr. (Obviously, this means the new tests\nwill fail.)","distinct":true,"url":"https://api.github.com/repos/GerbilSoft/rom-properties/commits/3dbbc2e13a13fc158db36cc537d95dddc91c2789"},{"sha":"58045d7486d707bac1be4482dd8772feecc1c31e","author":{"name":"David Korth","email":"f909f172679774d77bfe2de78821a60cfa9830a9@gerbilsoft.com"},"message":"[libromdata] RpPng_libpng.cpp: Actually set *img_palette.\n\nThe PNG palette was being converted to ARGB32, but the converted colors\nweren't being saved anywhere.\n\nTODO: Verify that CI8 image loading actually works.","distinct":true,"url":"https://api.github.com/repos/GerbilSoft/rom-properties/commits/58045d7486d707bac1be4482dd8772feecc1c31e"},{"sha":"fd1bbe94bbbb7f53c9700d8072a381f267268eba","author":{"name":"David Korth","email":"f909f172679774d77bfe2de78821a60cfa9830a9@gerbilsoft.com"},"message":"[libromdata] RpPng_libpng: Use std::min() for CI8 palette colors.\n\nIf the PNG image has fewer colors than the rp_image, clear the rest of\nthe rp_image's palette. Note that this sets the colors to 0, which is\nfully transparent.","distinct":true,"url":"https://api.github.com/repos/GerbilSoft/rom-properties/commits/fd1bbe94bbbb7f53c9700d8072a381f267268eba"},{"sha":"89a47246ea8b61de4e83e33f629ba7d0f1c871c7","author":{"name":"David Korth","email":"f909f172679774d77bfe2de78821a60cfa9830a9@gerbilsoft.com"},"message":"[libromdata] RpPng_libpng.cpp: Added support for PNG_COLOR_TYPE_GRAY.\n\nPNG_COLOR_TYPE_GRAY is handled as a 256-color image with a default\ngrayscale palette. Neither Qt nor Windows support a \"grayscale\" image\ntype, so this is the best option.\n\nTODO: Support PNG_COLOR_TYPE_GRAY + tRNS. This will probably need\nto be converted to ARGB32.","distinct":true,"url":"https://api.github.com/repos/GerbilSoft/rom-properties/commits/89a47246ea8b61de4e83e33f629ba7d0f1c871c7"},{"sha":"6c35dade19849e924572f0706a8b0149bb5bdb8e","author":{"name":"David Korth","email":"f909f172679774d77bfe2de78821a60cfa9830a9@gerbilsoft.com"},"message":"[libromdata] RpPng_libpng.cpp: Split the CI8 palette reading into a separate function.","distinct":true,"url":"https://api.github.com/repos/GerbilSoft/rom-properties/commits/6c35dade19849e924572f0706a8b0149bb5bdb8e"},{"sha":"49a5397769cdab7faf2b728f9b16932bc5aa1360","author":{"name":"David Korth","email":"f909f172679774d77bfe2de78821a60cfa9830a9@gerbilsoft.com"},"message":"[libromdata/tests] CMakeLists.txt: Disable RpImageLoaderTest on Windows right now.\n\nI'm not linking in zlib or libpng on the Windows build, so this test\ncan't be built until RpPng_gdiplus.cpp is implemented.","distinct":true,"url":"https://api.github.com/repos/GerbilSoft/rom-properties/commits/49a5397769cdab7faf2b728f9b16932bc5aa1360"}]}
{"actor":{"display_login":"GerbilSoft"}}