Method LogFrames
LogFrames(string?, int, ILogWriter?)
Logs information about each frame extracted from a GIF located at the specified URL using the provided log writer.
public static void LogFrames(string? url, int maxFrames, ILogWriter? logWriter = null)
Parameters
urlstringThe URL of the GIF from which to extract frames. This parameter can be null, in which case no frames will be logged.
maxFramesintThe maximum number of frames to log. If the number of frames exceeds this value, only the specified number of frames will be logged.
logWriterILogWriterAn optional log writer used to output frame information. If not specified, a default debug log writer is used.
Remarks
If no frames are available for the specified URL, a message is logged indicating the absence of frames. Each frame is logged in a separate section for clarity.