Skip to content

Read/Write Custom Png Chunk #251

@boban100janovski

Description

@boban100janovski

Prerequisites

  • I have written a descriptive issue title
  • I have verified that I am running the latest version of ImageSharp
  • I have verified if the problem exist in both DEBUG and RELEASE mode
  • I have searched open and closed issues to ensure it has not already been reported

Description

I have a classic .net app where i read/write custom png chunk information (using the Pngcs lib), but now i need to do the same on a .net core application.
I saw the source for "PngDecoderCore.cs" and it has a "ReadChunk" method, when i load a Png with "tEXt" chunks it succesufully reads them.

Is it possible to create a WriteChunk method to create a custom chunk, then also a ReadChunk method witch takes an Id parameter for the chunk and return the information.

Maybe i can help out with the "WriteChunk" method.

Thanks

System Configuration

Windows 10 64bit

  • ImageSharp version: 1.0.0-alpha9-00140
  • Environment (Operating system, version and so on):
  • .NET Framework version: .net core 1.1
  • Additional information:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions