Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 10, 2025

  • Add new metadata fields to ImageMetadata interface (format, compression, frameCount, bitDepth, colorType)
  • Update PNG extractMetadata to include format, compression (deflate), bit depth, color type
  • Update APNG extractMetadata to include format, compression (deflate), frame count
  • Update JPEG extractMetadata to include format, compression (baseline DCT)
  • Update WebP extractMetadata to include format, compression (VP8/VP8L), frame count
  • Update GIF extractMetadata to include format, compression (LZW), frame count
  • Update TIFF extractMetadata to include format, compression type, frame count
  • Update BMP extractMetadata to include format, compression type
  • Update other formats (ICO, DNG, PAM, PCX, PPM, ASCII) to include format metadata
  • Add tests for new metadata fields
  • Run precommit checks and fix any issues
  • Address code review feedback
  • Fix test compatibility for Bun and Node by using @cross/test
Original prompt

Add number of frames (for multi frame images), file format, compression algorithm, etc to metadata extraction (where possible without actually decoding).


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 3 commits December 10, 2025 22:09
…ata extraction

Co-authored-by: Hexagon <419737+Hexagon@users.noreply.github.com>
… PCX, PPM, ASCII)

Co-authored-by: Hexagon <419737+Hexagon@users.noreply.github.com>
Co-authored-by: Hexagon <419737+Hexagon@users.noreply.github.com>
@Hexagon Hexagon marked this pull request as ready for review December 10, 2025 22:23
Copilot AI changed the title [WIP] Add metadata extraction for frame count, file format, and compression Add format, compression, and frame count to metadata extraction Dec 10, 2025
Copilot AI requested a review from Hexagon December 10, 2025 22:24
@Hexagon
Copy link
Member

Hexagon commented Dec 10, 2025

@copilot Bun ando Node tests are failing, Use @cross/test instead of Deno.test in tests

Co-authored-by: Hexagon <419737+Hexagon@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Dec 10, 2025

@copilot Bun ando Node tests are failing, Use @cross/test instead of Deno.test in tests

Fixed in 60ebcd3. Replaced all Deno.test calls with test from @cross/test for cross-runtime compatibility with Bun and Node.

@Hexagon Hexagon merged commit 3b6e0bc into main Dec 10, 2025
@Hexagon Hexagon deleted the copilot/add-metadata-extraction-details branch December 21, 2025 00:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants