public class QrCodeUtils extends Object
| 构造器和说明 |
|---|
QrCodeUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
analysisQrCode(File file)
解析二维码
|
static File |
drawQrCodeLogo(File imgFile,
String format,
String content,
int width,
int height)
绘制二维码
|
static File |
drawQrCodeLogo(File imgFile,
String format,
String content,
int width,
int height,
File logo)
绘制二维码
|
static File |
drawQrCodeLogo(File imgFile,
String format,
String content,
int width,
int height,
InputStream logo)
绘制二维码
|
static ImageOutputStream |
drawQrCodeLogo(ImageOutputStream imgFile,
String format,
String content,
int width,
int height)
绘制二维码
|
static ImageOutputStream |
drawQrCodeLogo(ImageOutputStream imgFile,
String format,
String content,
int width,
int height,
InputStream logo)
绘制二维码
|
static OutputStream |
drawQrCodeLogo(OutputStream imgFile,
String format,
String content,
int width,
int height)
绘制二维码
|
static OutputStream |
drawQrCodeLogo(OutputStream imgFile,
String format,
String content,
int width,
int height,
File logo)
绘制二维码
|
public static File drawQrCodeLogo(File imgFile, String format, String content, int width, int height) throws MsToolsException
imgFile - 二维码生成文件format - 文件格式 png, jpgcontent - 二维码内容width - 宽度 单位pxheight - 高度 单位pxMsToolsException - 异常public static ImageOutputStream drawQrCodeLogo(ImageOutputStream imgFile, String format, String content, int width, int height) throws MsToolsException
imgFile - 二维码生成文件format - 文件格式 png, jpgcontent - 二维码内容width - 宽度 单位pxheight - 高度 单位pxMsToolsException - 异常public static OutputStream drawQrCodeLogo(OutputStream imgFile, String format, String content, int width, int height) throws MsToolsException
imgFile - 二维码生成文件format - 文件格式 png, jpgcontent - 二维码内容width - 宽度 单位pxheight - 高度 单位pxMsToolsException - 异常public static ImageOutputStream drawQrCodeLogo(ImageOutputStream imgFile, String format, String content, int width, int height, InputStream logo) throws MsToolsException
imgFile - 二维码生成文件format - 文件格式 png, jpgcontent - 二维码内容width - 宽度 单位pxheight - 高度 单位pxlogo - 中心logo文件 null 不使用logoMsToolsException - 异常public static OutputStream drawQrCodeLogo(OutputStream imgFile, String format, String content, int width, int height, File logo) throws MsToolsException
imgFile - 二维码生成文件format - 文件格式 png, jpgcontent - 二维码内容width - 宽度 单位pxheight - 高度 单位pxlogo - 中心logo文件 null 不使用logoMsToolsException - 异常public static File drawQrCodeLogo(File imgFile, String format, String content, int width, int height, InputStream logo) throws MsToolsException
imgFile - 二维码生成文件format - 文件格式 png, jpgcontent - 二维码内容width - 宽度 单位pxheight - 高度 单位pxlogo - 中心logo文件 null 不使用logoMsToolsException - 异常public static File drawQrCodeLogo(File imgFile, String format, String content, int width, int height, File logo) throws MsToolsException
imgFile - 二维码生成文件format - 文件格式 png, jpgcontent - 二维码内容width - 宽度 单位pxheight - 高度 单位pxlogo - 中心logo文件 null 不使用logoMsToolsException - 异常public static String analysisQrCode(File file) throws MsToolsException
file - 二维码文件MsToolsException - 异常Copyright © 2024. All rights reserved.