Class mmImageUtils

Same as Westwind.Utilities.ImageUtils moved here so it's accessible in .NET Core 3.0

System.Object
  MarkdownMonster.Utilities.mmImageUtils
public static class mmImageUtils : object

Class Members

MemberDescription

GetImageFormatFromFilename

Tries to return an image format

public static ImageFormat GetImageFormatFromFilename(string filename)

GetImageMediaTypeFromFilename

Returns the image media type for a give file extension based on a filename or url passed in.

public static string GetImageMediaTypeFromFilename(string file)

IsFixedWidthFont

Checks to see if a font is a FixedWidth Font

public static bool IsFixedWidthFont(string fontName)

SaveJpeg

Saves a jpeg BitMap to disk with a jpeg quality setting. Does not dispose the bitmap.

public static bool SaveJpeg(Bitmap bmp,     string outputFileName,     long jpegQuality)

Encoders

A quick lookup for getting image encoders

Requirements

Namespace: MarkdownMonster.Utilities
Assembly: markdownmonster.exe

© West Wind Technologies, 2016-2024 • Updated: 11/23/21
Comment or report problem with topic