워터마크 없이 실제 운영 환경에서 테스트해 보세요.
필요한 곳 어디에서든 작동합니다.
모든 기능을 갖춘 제품을 30일 동안 사용해 보세요.
몇 분 안에 설치를 완료하고 작동시킬 수 있습니다.
제품 체험 기간 동안 당사 지원 엔지니어링 팀에 대한 모든 접근 권한을 확보할 수 있습니다.
using IronBarCode;
using System.Drawing;
// Reading a barcode is easy with IronBarcode!
var resultFromFile = BarcodeReader.Read(@"file/barcode.png"); // From a file
var resultFromBitMap = BarcodeReader.Read(new Bitmap("barcode.bmp")); // From a bitmap
var resultFromImage = BarcodeReader.Read(Image.FromFile("barcode.jpg")); // From an image file
var resultFromPdf = BarcodeReader.ReadPdf(@"file/mydocument.pdf"); // From PDF use ReadPdf
// To configure and fine-tune barcode reading, utilize the BarcodeReaderOptions class
var myOptionsExample = new BarcodeReaderOptions
{
// Choose a reading speed from: Faster, Balanced, Detailed, ExtremeDetail
// There is a tradeoff in performance as more detail is set
Speed = ReadingSpeed.Balanced,
// Reader will stop scanning once a single barcode is found (if set to true)
ExpectMultipleBarcodes = true,
// By default, all barcode formats are scanned for
// Specifying a subset of barcode types to search for would improve performance
ExpectBarcodeTypes = BarcodeEncoding.AllOneDimensional,
// Utilize multiple threads to read barcodes from multiple images in parallel
Multithreaded = true,
// Maximum threads for parallelized barcode reading
// Default is 4
MaxParallelThreads = 2,
// The area of each image frame in which to scan for barcodes
// Specifying a crop area will significantly improve performance and avoid noisy parts of the image
CropArea = new Rectangle(),
// Special setting for Code39 barcodes
// If a Code39 barcode is detected, try to read with both the base and extended ASCII character sets
UseCode39ExtendedMode = true
};
// Read with the options applied
var results = BarcodeReader.Read("barcode.png", myOptionsExample);
// Create a barcode with one line of code
var myBarcode = BarcodeWriter.CreateBarcode("12345", BarcodeWriterEncoding.EAN8);
// After creating a barcode, we may choose to resize
myBarcode.ResizeTo(400, 100);
// Save our newly-created barcode as an image
myBarcode.SaveAsImage("EAN8.jpeg");
// Get the barcode as an image for further processing
var myBarcodeImage = myBarcode.Image;
Imports IronBarCode
Imports System.Drawing
' Reading a barcode is easy with IronBarcode!
Dim resultFromFile = BarcodeReader.Read("file/barcode.png") ' From a file
Dim resultFromBitMap = BarcodeReader.Read(New Bitmap("barcode.bmp")) ' From a bitmap
Dim resultFromImage = BarcodeReader.Read(Image.FromFile("barcode.jpg")) ' From an image file
Dim resultFromPdf = BarcodeReader.ReadPdf("file/mydocument.pdf") ' From PDF use ReadPdf
' To configure and fine-tune barcode reading, utilize the BarcodeReaderOptions class
Dim myOptionsExample As New BarcodeReaderOptions With {
' Choose a reading speed from: Faster, Balanced, Detailed, ExtremeDetail
' There is a tradeoff in performance as more detail is set
.Speed = ReadingSpeed.Balanced,
' Reader will stop scanning once a single barcode is found (if set to true)
.ExpectMultipleBarcodes = True,
' By default, all barcode formats are scanned for
' Specifying a subset of barcode types to search for would improve performance
.ExpectBarcodeTypes = BarcodeEncoding.AllOneDimensional,
' Utilize multiple threads to read barcodes from multiple images in parallel
.Multithreaded = True,
' Maximum threads for parallelized barcode reading
' Default is 4
.MaxParallelThreads = 2,
' The area of each image frame in which to scan for barcodes
' Specifying a crop area will significantly improve performance and avoid noisy parts of the image
.CropArea = New Rectangle(),
' Special setting for Code39 barcodes
' If a Code39 barcode is detected, try to read with both the base and extended ASCII character sets
.UseCode39ExtendedMode = True
}
' Read with the options applied
Dim results = BarcodeReader.Read("barcode.png", myOptionsExample)
' Create a barcode with one line of code
Dim myBarcode = BarcodeWriter.CreateBarcode("12345", BarcodeWriterEncoding.EAN8)
' After creating a barcode, we may choose to resize
myBarcode.ResizeTo(400, 100)
' Save our newly-created barcode as an image
myBarcode.SaveAsImage("EAN8.jpeg")
' Get the barcode as an image for further processing
Dim myBarcodeImage = myBarcode.Image
Install-Package BarCode
IronBarCode는 이미지 파일(jpeg, png, 및 jpg)에서 비트맵과 같은 다른 프로그램 형식에 이르기까지 다양한 표준 형식을 지원합니다. 또한 PDF와 같은 외부 형식을 지원하여 IronBarCode가 모든 코드베이스에 원활하게 통합되고 파일 형식 및 변수에 유연성을 제공합니다.
모든 파일 형식에 대한 바코드 리더일 뿐만 아니라, IronBarcode는 EAN8, Code128 및 Code39와 같은 모든 표준 인코딩 및 형식을 지원하는 바코드 생성기로도 사용됩니다. 바코드 생성기 설정은 단 두 줄의 코드만 필요합니다. 낮은 진입 장벽과 개발자에게 제공되는 다양한 사용자 지정 옵션으로, IronBarCode는 바코드와 관련된 모든 상황에서 최고의 선택입니다.
먼저 IronBarCode 및 System.Drawing와 같은 필요한 라이브러리를 가져오고, BarcodeWriter를 인스턴스화하여 12345의 문자열 값과 EAN8의 형식으로 바코드를 생성합니다. 생성된 바코드를 원하는 형식의 이미지로 저장합니다. IronBarCode는 Image 및 Bitmap로 바코드를 생성하는 것을 지원하므로 여러 가지 옵션이 있습니다.
위에서 볼 수 있듯이 IronBarCode를 사용하여 바코드를 생성하는 것은 단 두 줄의 코드만을 필요로 하고, 나중에 사용할 수 있도록 파일로 저장합니다. IronBarCode는 상황에 맞추어 바코드를 사용자 정의할 수 있는 다양한 옵션을 개발자에게 제공합니다.
우리는 ResizeTo 메서드를 사용하여 바코드 이미지의 높이와 너비를 전달하여 크기를 조정할 수 있습니다.
위와 같이, 우리는 먼저 BarcodeReader를 인스턴스화하고, 파일 경로를 Read 메서드에 전달하여 변수를 저장하고 나중에 사용하고 바코드 객체를 조작합니다. PDF와 같은 외부 형식을 읽기 위한 특정 메서드에는 ReadPDF가 포함됩니다; 그러나, 일반 이미지 형식 및 비트맵의 경우 Read을 사용합니다.
IronBarCode는 표준 파일 형식에서 바코드를 스캔할 수 있도록 개발자에게 허용합니다. 그러나 개발자가 특히 바코드 파일 일괄 처리를 프로그래밍 방식으로 읽는 경우 Read 메서드의 동작을 미세 조정하고자 하는 상황이 있습니다. This is where BarcodeReaderOptions comes in. IronBarCode lets you fully customize things such as the speed at which it reads with Speed, whether multiple barcodes are expected in the file with ExpectedMultipleBarcodes, and what kind of barcodes they are with the property ExpectBarcodeTypes. 이것은 개발자들이 여러 이미지에서 바코드를 병렬로 읽기 위해 여러 스레드를 실행할 수 있게 하고, 병렬 읽기 시 사용되는 스레드의 수를 제어할 수 있게 합니다.
이것들은 IronBarCode의 강력함을 보여주는 속성 중 일부에 불과합니다. 전체 목록은 여기에서 문서를 참조하세요.
using IronBarCode;
using IronSoftware.Drawing;
// Choose which filters are to be applied (in order)
// Set cacheAtEachIteration = true to save the intermediate image data after each filter is applied
var filtersToApply = new ImageFilterCollection(cacheAtEachIteration: true) {
new SharpenFilter(),
new InvertFilter(),
new ContrastFilter(),
new BrightnessFilter(),
new AdaptiveThresholdFilter(),
new BinaryThresholdFilter(),
new GaussianBlurFilter(),
new MedianBlurFilter(),
new BilateralFilter()
};
BarcodeReaderOptions myOptionsExample = new BarcodeReaderOptions()
{
// Set chosen filters in BarcodeReaderOptions
ImageFilters = filtersToApply,
Speed = ReadingSpeed.Balanced,
ExpectMultipleBarcodes = true,
};
// Read with the options applied
BarcodeResults results = BarcodeReader.Read("screenshot.png", myOptionsExample);
AnyBitmap[] filteredImages = results.FilterImages();
// Export intermediate image files to disk
for (int i = 0 ; i < filteredImages.Length ; i++)
filteredImages[i].SaveAs($"{i}_barcode.png");
// Or
results.ExportFilterImagesToDisk("filter-result.jpg");
Imports IronBarCode
Imports IronSoftware.Drawing
' Choose which filters are to be applied (in order)
' Set cacheAtEachIteration = true to save the intermediate image data after each filter is applied
Private filtersToApply = New ImageFilterCollection(cacheAtEachIteration:= True) From {
New SharpenFilter(),
New InvertFilter(),
New ContrastFilter(),
New BrightnessFilter(),
New AdaptiveThresholdFilter(),
New BinaryThresholdFilter(),
New GaussianBlurFilter(),
New MedianBlurFilter(),
New BilateralFilter()
}
Private myOptionsExample As New BarcodeReaderOptions() With {
.ImageFilters = filtersToApply,
.Speed = ReadingSpeed.Balanced,
.ExpectMultipleBarcodes = True
}
' Read with the options applied
Private results As BarcodeResults = BarcodeReader.Read("screenshot.png", myOptionsExample)
Private filteredImages() As AnyBitmap = results.FilterImages()
' Export intermediate image files to disk
For i As Integer = 0 To filteredImages.Length - 1
filteredImages(i).SaveAs($"{i}_barcode.png")
Next i
' Or
results.ExportFilterImagesToDisk("filter-result.jpg")
Install-Package BarCode
IronBarcode는 BarcodeReaderOptions 내에서 쉽게 적용할 수 있는 다양한 이미지 전처리 필터를 제공합니다. 이미지 판독을 개선할 수 있는 필터를 선택하세요, 예를 들어 Sharpen, 이진 임계값, Contrast와 같은. 선택한 순서대로 필터가 적용된다는 점을 기억하십시오.
각 필터를 적용한 중간 이미지의 이미지 데이터를 저장하는 옵션이 있습니다. 이것은 ImageFilterCollection의 SaveAtEachIteration 속성으로 전환할 수 있습니다.
주요 코드 예제의 핵심 포인트:
BarcodeReaderOptions의 인스턴스를 생성하고 Sharpen, Binary Threshold, Contrast와 같은 다양한 이미지 필터로 구성합니다.cacheAtEachIteration를 true로 설정하여 각 필터 적용 후 중간 이미지를 라이브러리가 저장하게 되어 디버깅 및 분석에 유용합니다.using IronBarCode;
using System.Drawing;
/*** CREATING BARCODE IMAGES ***/
// Create and save a barcode in a single line of code
BarcodeWriter.CreateBarcode("12345", BarcodeWriterEncoding.EAN8).ResizeTo(400, 100).SaveAsImage("EAN8.jpeg");
/***** IN-DEPTH BARCODE CREATION OPTIONS *****/
// BarcodeWriter.CreateBarcode creates a GeneratedBarcode which can be styled and exported as an Image object or file
GeneratedBarcode MyBarCode = BarcodeWriter.CreateBarcode("Any Number, String or Binary Value", BarcodeWriterEncoding.Code128);
// Style the Barcode in a fluent LINQ-style fashion
MyBarCode.ResizeTo(300, 150).SetMargins(20).AddAnnotationTextAboveBarcode("Example EAN8 Barcode").AddBarcodeValueTextBelowBarcode();
MyBarCode.ChangeBackgroundColor(Color.LightGoldenrodYellow);
// Save the barcode as an image file
MyBarCode.SaveAsImage("MyBarCode.png");
MyBarCode.SaveAsGif("MyBarCode.gif");
MyBarCode.SaveAsHtmlFile("MyBarCode.html");
MyBarCode.SaveAsJpeg("MyBarCode.jpg");
MyBarCode.SaveAsPdf("MyBarCode.Pdf");
MyBarCode.SaveAsPng("MyBarCode.png");
MyBarCode.SaveAsTiff("MyBarCode.tiff");
MyBarCode.SaveAsWindowsBitmap("MyBarCode.bmp");
// Save the barcode as a .NET native object
Image MyBarCodeImage = MyBarCode.Image;
Bitmap MyBarCodeBitmap = MyBarCode.ToBitmap();
byte[] PngBytes = MyBarCode.ToPngBinaryData();
using (System.IO.Stream PdfStream = MyBarCode.ToPdfStream())
{
// Stream barcode image output also works for GIF, JPEG, PDF, PNG, BMP and TIFF
}
// Save MyBarCode as an HTML file or tag
MyBarCode.SaveAsHtmlFile("MyBarCode.Html");
string ImgTagForHTML = MyBarCode.ToHtmlTag();
string DataURL = MyBarCode.ToDataUrl();
// Save MyBarCode to a new PDF, or stamp it in any position on any page(s) of an existing document
MyBarCode.SaveAsPdf("MyBarCode.Pdf");
MyBarCode.StampToExistingPdfPage("ExistingPDF.pdf", 200, 50, 1); // Position (200, 50) on page 1
MyBarCode.StampToExistingPdfPages("ExistingPDF.pdf", 200, 50, new[] { 1, 2, 3 }, "Password123"); // Multiple pages of an encrypted PDF
Imports IronBarCode
Imports System.Drawing
'''* CREATING BARCODE IMAGES **
' Create and save a barcode in a single line of code
BarcodeWriter.CreateBarcode("12345", BarcodeWriterEncoding.EAN8).ResizeTo(400, 100).SaveAsImage("EAN8.jpeg")
'''*** IN-DEPTH BARCODE CREATION OPTIONS ****
' BarcodeWriter.CreateBarcode creates a GeneratedBarcode which can be styled and exported as an Image object or file
Dim MyBarCode As GeneratedBarcode = BarcodeWriter.CreateBarcode("Any Number, String or Binary Value", BarcodeWriterEncoding.Code128)
' Style the Barcode in a fluent LINQ-style fashion
MyBarCode.ResizeTo(300, 150).SetMargins(20).AddAnnotationTextAboveBarcode("Example EAN8 Barcode").AddBarcodeValueTextBelowBarcode()
MyBarCode.ChangeBackgroundColor(Color.LightGoldenrodYellow)
' Save the barcode as an image file
MyBarCode.SaveAsImage("MyBarCode.png")
MyBarCode.SaveAsGif("MyBarCode.gif")
MyBarCode.SaveAsHtmlFile("MyBarCode.html")
MyBarCode.SaveAsJpeg("MyBarCode.jpg")
MyBarCode.SaveAsPdf("MyBarCode.Pdf")
MyBarCode.SaveAsPng("MyBarCode.png")
MyBarCode.SaveAsTiff("MyBarCode.tiff")
MyBarCode.SaveAsWindowsBitmap("MyBarCode.bmp")
' Save the barcode as a .NET native object
Dim MyBarCodeImage As Image = MyBarCode.Image
Dim MyBarCodeBitmap As Bitmap = MyBarCode.ToBitmap()
Dim PngBytes() As Byte = MyBarCode.ToPngBinaryData()
Using PdfStream As System.IO.Stream = MyBarCode.ToPdfStream()
' Stream barcode image output also works for GIF, JPEG, PDF, PNG, BMP and TIFF
End Using
' Save MyBarCode as an HTML file or tag
MyBarCode.SaveAsHtmlFile("MyBarCode.Html")
Dim ImgTagForHTML As String = MyBarCode.ToHtmlTag()
Dim DataURL As String = MyBarCode.ToDataUrl()
' Save MyBarCode to a new PDF, or stamp it in any position on any page(s) of an existing document
MyBarCode.SaveAsPdf("MyBarCode.Pdf")
MyBarCode.StampToExistingPdfPage("ExistingPDF.pdf", 200, 50, 1) ' Position (200, 50) on page 1
MyBarCode.StampToExistingPdfPages("ExistingPDF.pdf", 200, 50, { 1, 2, 3 }, "Password123") ' Multiple pages of an encrypted PDF
Install-Package BarCode
이 예제에서 우리는 다양한 유형과 형식의 바코드를 생성, 크기 조정 및 저장할 수 있음을 알 수 있습니다; 아마도 코드 한 줄로도 가능합니다.
우리의 유창한 API를 사용하여, 생성된 바코드 클래스는 여백 설정, 크기 조정 및 바코드에 주석을 달 수 있습니다. 그런 다음 IronBarcode는 파일 이름으로부터 이미지 유형을 자동으로 인식하여 이미지를 저장할 수 있습니다: GIF, HTML 파일, HTML 태그, JPEG, PDF, PNG, TIFF 및 Windows 비트맵.
We also have the StampToExistingPdfPage method, which allows a barcode to be generated and stamped onto an existing PDF. 이것은 일반 PDF를 편집하거나 문서에 내부 식별 번호를 바코드를 통해 추가할 때 유용합니다.
using IronBarCode;
using System;
using System.Drawing;
/*** STYLING GENERATED BARCODES ***/
// BarcodeWriter.CreateBarcode creates a GeneratedBarcode object which allows the barcode to be styled and annotated.
GeneratedBarcode MyBarCode = BarcodeWriter.CreateBarcode("Iron Software", BarcodeWriterEncoding.QRCode);
// Any text (or commonly, the value of the barcode) can be added to the image in a default or specified font.
// Text positions are automatically centered, above or below. Fonts that are too large for a given image are automatically scaled down.
MyBarCode.AddBarcodeValueTextBelowBarcode();
MyBarCode.AddAnnotationTextAboveBarcode("This is my barcode");
// Resize, add margins and check final image dimensions
MyBarCode.ResizeTo(300, 300); // Resize in pixels
MyBarCode.SetMargins(0, 20, 0, 20); // Set margins in pixels
int FinalWidth = MyBarCode.Width;
int FinalHeight = MyBarCode.Height;
// Recolor the barcode and its background
MyBarCode.ChangeBackgroundColor(Color.LightGray);
MyBarCode.ChangeBarCodeColor(Color.DarkSlateBlue);
if (!MyBarCode.Verify())
{
Console.WriteLine("Color contrast should be at least 50% or a barcode may become unreadable. Test using GeneratedBarcode.Verify()");
}
// Finally, save the result
MyBarCode.SaveAsHtmlFile("StyledBarcode.html");
/*** STYLING BARCODES IN A SINGLE LINQ-STYLE EXPRESSION ***/
// Create a barcode in one line of code
BarcodeWriter.CreateBarcode("https://ironsoftware.com", BarcodeWriterEncoding.Aztec).ResizeTo(250, 250).SetMargins(10).AddBarcodeValueTextAboveBarcode().SaveAsImage("StyledBarcode.png");
/*** STYLING QR CODES WITH LOGO IMAGES OR BRANDING ***/
// Use the QRCodeWriter.CreateQrCodeWithLogo Method instead of BarcodeWriter.CreateBarcode
// Logo will automatically be sized appropriately and snapped to the QR grid.
var qrCodeLogo = new QRCodeLogo("ironsoftware_logo.png");
GeneratedBarcode myQRCodeWithLogo = QRCodeWriter.CreateQrCodeWithLogo("https://ironsoftware.com/", qrCodeLogo);
myQRCodeWithLogo.ResizeTo(500, 500).SetMargins(10).ChangeBarCodeColor(Color.DarkGreen);
myQRCodeWithLogo.ResizeTo(500, 500).SetMargins(10).ChangeBarCodeColor(Color.DarkGreen);
myQRCodeWithLogo.SaveAsPng("QRWithLogo.Png").SaveAsPdf("MyVerifiedQR.html"); // Save as 2 different formats
Imports IronBarCode
Imports System
Imports System.Drawing
'*** STYLING GENERATED BARCODES ***
' BarcodeWriter.CreateBarcode creates a GeneratedBarcode object which allows the barcode to be styled and annotated.
Dim MyBarCode As GeneratedBarcode = BarcodeWriter.CreateBarcode("Iron Software", BarcodeWriterEncoding.QRCode)
' Any text (or commonly, the value of the barcode) can be added to the image in a default or specified font.
' Text positions are automatically centered, above or below. Fonts that are too large for a given image are automatically scaled down.
MyBarCode.AddBarcodeValueTextBelowBarcode()
MyBarCode.AddAnnotationTextAboveBarcode("This is my barcode")
' Resize, add margins and check final image dimensions
MyBarCode.ResizeTo(300, 300) ' Resize in pixels
MyBarCode.SetMargins(0, 20, 0, 20) ' Set margins in pixels
Dim FinalWidth As Integer = MyBarCode.Width
Dim FinalHeight As Integer = MyBarCode.Height
' Recolor the barcode and its background
MyBarCode.ChangeBackgroundColor(Color.LightGray)
MyBarCode.ChangeBarCodeColor(Color.DarkSlateBlue)
If Not MyBarCode.Verify() Then
Console.WriteLine("Color contrast should be at least 50% or a barcode may become unreadable. Test using GeneratedBarcode.Verify()")
End If
' Finally, save the result
MyBarCode.SaveAsHtmlFile("StyledBarcode.html")
'*** STYLING BARCODES IN A SINGLE LINQ-STYLE EXPRESSION ***
' Create a barcode in one line of code
BarcodeWriter.CreateBarcode("https://ironsoftware.com", BarcodeWriterEncoding.Aztec).ResizeTo(250, 250).SetMargins(10).AddBarcodeValueTextAboveBarcode().SaveAsImage("StyledBarcode.png")
'*** STYLING QR CODES WITH LOGO IMAGES OR BRANDING ***
' Use the QRCodeWriter.CreateQrCodeWithLogo Method instead of BarcodeWriter.CreateBarcode
' Logo will automatically be sized appropriately and snapped to the QR grid.
Dim qrCodeLogo = New QRCodeLogo("ironsoftware_logo.png")
Dim myQRCodeWithLogo As GeneratedBarcode = QRCodeWriter.CreateQrCodeWithLogo("https://ironsoftware.com/", qrCodeLogo)
myQRCodeWithLogo.ResizeTo(500, 500).SetMargins(10).ChangeBarCodeColor(Color.DarkGreen)
myQRCodeWithLogo.ResizeTo(500, 500).SetMargins(10).ChangeBarCodeColor(Color.DarkGreen)
myQRCodeWithLogo.SaveAsPng("QRWithLogo.Png").SaveAsPdf("MyVerifiedQR.html") ' Save as 2 different formats
Install-Package BarCode
이 샘플에서 우리는 바코드에 선택한 텍스트나 바코드 자체 값을 추가할 수 있으며, 대상 머신에 설치된 어떤 서체든 사용할 수 있음을 확인할 수 있습니다. 그 서체가 없을 경우, 적절한 유사한 서체가 선택됩니다. 바코드는 크기를 조정하거나 여백을 추가할 수 있으며, 바코드와 배경 모두 색상을 변경할 수 있습니다. 그런 다음 적절한 형식으로 저장할 수 있습니다.
코드의 마지막 몇 줄에서, 우리 플루언트 스타일 연산자를 사용하여 몇 줄의 코드만으로 바코드를 생성하고 스타일링하는 것이 가능하다는 것을 볼 수 있으며, System.Linq와 유사합니다.
using IronBarCode;
GeneratedBarcode MyBarCode = BarcodeWriter.CreateBarcode("1234567890", BarcodeWriterEncoding.Code128);
// Save as a stand-alone HTML file without any image assets
MyBarCode.SaveAsHtmlFile("MyBarCode.html");
// Save as a stand-alone HTML image tag which can be served in HTML files, ASPX or MVC Views. No image assets required, the tag embeds the entire image in its source content
string ImgTag = MyBarCode.ToHtmlTag();
// Turn the image into a HTML/CSS Data URI.
string DataURI = MyBarCode.ToDataUrl();
Imports IronBarCode
Private MyBarCode As GeneratedBarcode = BarcodeWriter.CreateBarcode("1234567890", BarcodeWriterEncoding.Code128)
' Save as a stand-alone HTML file without any image assets
MyBarCode.SaveAsHtmlFile("MyBarCode.html")
' Save as a stand-alone HTML image tag which can be served in HTML files, ASPX or MVC Views. No image assets required, the tag embeds the entire image in its source content
Dim ImgTag As String = MyBarCode.ToHtmlTag()
' Turn the image into a HTML/CSS Data URI.
Dim DataURI As String = MyBarCode.ToDataUrl()
Install-Package BarCode
IronBarcode에는 바코드를 이미지 자산이 없는 자립형 HTML로 내보내는 매우 유용한 기능이 있습니다. 모든 것이 HTML 파일 내에 포함됩니다.
HTML 파일, HTML 이미지 태그 또는 데이터 URI로 내보낼 수 있습니다.
이 예시에서는 다음과 같습니다.
BarcodeWriter.CreateBarcode를 사용하여 바코드를 생성합니다. ToHtmlTag()는 웹 페이지에 삽입될 수 있는 HTML <img> 태그를 생성합니다. ToDataUri()는 <img> 태그 또는 이미지 URL이 필요한 거의 모든 곳에서 소스로 사용할 수 있는 데이터 URI 문자열을 만듭니다. SaveAsHtmlFile()는 모든 이미지 데이터를 인라인으로 포함하여 휴대와 공유가 쉬운 독립형 HTML 파일로 바코드를 저장합니다.
제품, 통합 또는 라이선스 관련 문의 사항이 있으시면 Iron 제품 개발팀이 언제든지 지원해 드립니다. 지금 바로 Iron에 연락하여 프로젝트에 Iron 라이브러리를 최대한 활용하는 방법을 알아보세요.
질문하기IronBarcode는 UPC A/E, EAN 8/13, Code 39, Code 93, Code 128, ITF, MSI, RSS 14/Expanded, Databar, CodaBar, QR, Styled QR, Data Matrix, MaxiCode, PDF417, Plessey, Aztec 등 대부분의 바코드 및 QR 코드 표준을 읽고 생성합니다. 출력 결과에는 바코드 데이터, 유형, 페이지, 텍스트 및 바코드 이미지가 포함되어 있어 아카이브 또는 색인 시스템에 이상적입니다.
전체 기능 목록을 참조하십시오.
IronBarcode는 바코드 이미지를 자동으로 사전 처리하여 속도와 정확도를 향상시킵니다. 스캔 이미지 또는 실시간 비디오 프레임을 판독하기 위해 회전, 노이즈, 왜곡 및 기울기를 보정합니다. 배치 처리 서버 애플리케이션에 적합한 멀티 코어, 멀티 스레드 환경을 지원합니다. 단일 페이지 및 여러 페이지로 구성된 문서에서 하나 또는 여러 개의 바코드를 자동으로 찾아냅니다. 복잡한 API 없이 특정 바코드 유형이나 문서 위치를 검색할 수 있습니다.
더 알아보기PDF, JPG, TIFF, GIF, BMP, PNG 또는 HTML 형식으로 파일이나 스트림에 저장하거나 인쇄할 수 있습니다. 색상, 품질, 회전, 크기 및 텍스트를 설정할 수 있습니다. C# 바코드 프로그래밍 툴박스를 IronPDF 및 IronOCR과 함께 사용하면 완벽한 .NET 문서 라이브러리를 구축할 수 있습니다.
더 알아보기
C# .NET 바코드 QR
Frank가 C# .NET 바코드 애플리케이션에서 IronBarcode를 사용하여 스캔 이미지, 사진 및 PDF 문서에서 바코드를 읽는 방법을 살펴보세요...
프랭크의 바코드 판독 튜토리얼을 시청하세요
C# .NET 바코드
프란체스카는 C# 또는 VB 애플리케이션에서 바코드를 이미지로 변환하는 몇 가지 팁과 요령을 공유합니다. IronBarcode를 사용하여 바코드를 작성하는 방법과 사용 가능한 모든 옵션을 확인해 보세요.
프란체스카의 바코드 튜토리얼을 참조하세요.
QR .NET C# VB
제니의 팀은 IronBarcode를 사용하여 하루에 수천 개의 QR 코드를 생성합니다. IronBarcode를 최대한 활용하는 방법에 대한 그들의 튜토리얼을 확인해 보세요.
제니 팀의 QR 코드 작성 튜토리얼
Iron Software의 팀은 .NET 소프트웨어 구성 요소 시장에서 10년 이상의 경험을 보유하고 있습니다.