IRONPDF 사용 How to Convert QR Code to PDF 커티스 차우 업데이트됨:8월 13, 2025 다운로드 IronPDF NuGet 다운로드 DLL 다운로드 윈도우 설치 프로그램 무료 체험 시작하기 LLM용 사본 LLM용 사본 LLM용 마크다운 형식으로 페이지를 복사하세요 ChatGPT에서 열기 ChatGPT에 이 페이지에 대해 문의하세요 제미니에서 열기 제미니에게 이 페이지에 대해 문의하세요 Grok에서 열기 Grok에게 이 페이지에 대해 문의하세요 혼란 속에서 열기 Perplexity에게 이 페이지에 대해 문의하세요 공유하다 페이스북에 공유하기 트위터에 공유하기 LinkedIn에 공유하기 URL 복사 이메일로 기사 보내기 Quick Response codes, known as QR codes, are two-dimensional barcodes capable of storing various information, including URLs, contact details, or plain text. They are widely used in marketing, payment systems, inventory management, printing, and more. As their popularity grows, developers increasingly need to handle QR codes within applications, such as reading and embedding them into documents like PDFs, as well as ways to generate QR codes. In this article, I’ll show you how easy it is to create and convert a QR Code image to PDF using the IronQR and IronPDF libraries. How to Convert QR Code to PDF Install C# QR code and PDF library to create and convert QR Code to PDF. Generate a simple QR object using QrWriter.Write method from IronQR. Save the QR Code object as a Bitmap. Save the QR Code Bitmap as a File using SaveAs method. Set the QR code image path in a variable. Use File.Exists method to check if a QR code Image exists before converting. Utilize ImageToPdfConverter.ImageToPdf method from IronPDF to load the Image and convert it to a PDF object. Save the PDF using SaveAs method. Introduction to IronQR IronQR is an easy-to-use C# library by Iron Software that allows developers to generate static QR codes, style, and read QR codes in .NET applications. Its simplicity and robust features make it an ideal tool for integrating QR code functionality into desktop, web, and mobile apps. One of its key strengths is the ability to handle QR codes across a wide range of platforms, including Windows, Linux, macOS, Android, iOS, and cloud environments like Azure and AWS. The IronQR library provides a robust solution for generating QR codes, allowing developers to create static and dynamic QR codes for various applications easily. With its advanced features, IronQR facilitates reading QR codes and integrates seamlessly with PDF documents, enabling users to generate, print, and embed QR codes directly into their PDFs. Features of IronQR IronQR offers a range of features that prioritize accuracy, speed, and ease of use: Cross-platform compatibility with .NET (Core, Standard, Framework), supporting various environments, including web, desktop, and mobile apps. Machine learning-powered QR code detection for reading even complex QR codes. Supports various image formats (jpg, png, gif, bmp, etc.). Advanced customization options for styling QR codes, such as resizing, adding logos, and adjusting error correction levels. Output formats include images, streams, and PDF stamping. To learn more about IronQR and its exciting features, please follow this documentation page. Create a Visual Studio Project To begin, let's create a new project in Visual Studio: Open Visual Studio and click on Create a new project. Select Console App (.NET C#) project type. Choose a name for your project (e.g., QRCodeToPDF) and set the location where it should be saved. In Additional Information, select the latest version of .NET Framework. IronPDF supports the latest version of .NET. Click Create. Install IronQR and IronPDF Library via NuGet Package Manager To work with IronQR and IronPDF, you need to download and install the packages using the NuGet Package Manager: In Microsoft Visual Studio, right-click on your project in the Solution Explorer. Select Manage NuGet Packages. In the Browse tab, search for IronQR. Select the package from the list and click Install. Accept the license terms to complete the installation. Similarly, search for IronPDF and install it. Generate a QR Code using IronQR Library To convert a QR code image into a PDF, we'll first need a QR code image. You can use any QR code generator library or online tool to create a QR code. Iron Software provides a dedicated QR code library named "IronQR" to create QR codes, and I'm going to use it here to generate a simple QR code. The following code example will allow us to create a QR code with the text "Hello World": using IronQr; // IronQR namespace using IronSoftware.Drawing; // For working with general image formats // Set your License Key for IronQR License.LicenseKey = "YOUR-LICENSE-KEY-HERE"; // Create a QR Code object with the specified text QrCode myQr = QrWriter.Write("hello world"); // Save QR Code as a Bitmap object AnyBitmap qrImage = myQr.Save(); // Save QR Code Bitmap as a File with specified format qrImage.SaveAs("qr.png"); using IronQr; // IronQR namespace using IronSoftware.Drawing; // For working with general image formats // Set your License Key for IronQR License.LicenseKey = "YOUR-LICENSE-KEY-HERE"; // Create a QR Code object with the specified text QrCode myQr = QrWriter.Write("hello world"); // Save QR Code as a Bitmap object AnyBitmap qrImage = myQr.Save(); // Save QR Code Bitmap as a File with specified format qrImage.SaveAs("qr.png"); $vbLabelText $csharpLabel Code Explanation QrWriter.Write("hello world"): This method generates a QR code that encodes the string "hello world." The result is an instance of the QrCode class, representing the generated QR code. myQr.Save(): This method converts the QR code object into a bitmap image format. The Save() method returns an instance of AnyBitmap, a flexible image representation supporting various formats. AnyBitmap qrImage: This variable holds the bitmap image of the generated QR code. qrImage.SaveAs("qr.png"): This method saves the QR code bitmap image to a file named qr.png in the current working directory. The file format is determined by the file extension, in this case, PNG. After running the application, we get our QR code as follows: We will load this QR Code image and use the ImageToPdfConverter class provided by IronPDF. Introduction to IronPDF IronPDF is a robust .NET C# library from Iron Software that easily creates, manipulates, and converts PDF documents in .NET applications. With IronPDF, developers can easily embed images (including QR codes) into a PDF document template, making it perfect for tasks like converting QR code images into a document-ready PDF. IronPDF provides HTML to PDF conversion, which allows developers to directly embed QR code images in an HTML template and then generate PDF documents seamlessly. The embedded QR code formatting is preserved in the document, allowing error-free scanning of the QR codes. Features of IronPDF IronPDF offers a wide range of PDF manipulation tools, including: Cross-platform compatibility: Supports .NET Core, .NET Framework, and .NET Standard, running on Windows, Linux, macOS, docker, Azure, and AWS. Image-to-PDF conversion: Effortlessly converts image files, such as JPEGs or PNGs, into PDFs. HTML and CSS support: For creating customizable PDFs from web pages. Security features: Includes password protection and encryption for securing sensitive PDF documents. PDF editing capabilities: Merging, splitting, and adding watermarks are made simple with IronPDF. To learn more about IronPDF's exciting features, please follow this documentation page. Convert the QR Code Image to a PDF File Now, with everything set up perfectly, the following code example will help you convert a QR code image to a PDF using IronPDF: using IronPdf; // IronPDF namespace using System.IO; // For File operations // Set your License Key for IronPDF License.LicenseKey = "YOUR-LICENSE-KEY-HERE"; // Define the file path for the QR code image var qrImagePath = "assets/sample_qr_code.png"; // Ensure that the image file exists before proceeding if (File.Exists(qrImagePath)) { // Convert the image to a PDF and save it ImageToPdfConverter.ImageToPdf(new[] { qrImagePath }).SaveAs("QRCodeImageToPDF.pdf"); Console.WriteLine("QR Code image has been successfully converted to a PDF."); } else { Console.WriteLine("QR Code image not found. Please check the file path."); } using IronPdf; // IronPDF namespace using System.IO; // For File operations // Set your License Key for IronPDF License.LicenseKey = "YOUR-LICENSE-KEY-HERE"; // Define the file path for the QR code image var qrImagePath = "assets/sample_qr_code.png"; // Ensure that the image file exists before proceeding if (File.Exists(qrImagePath)) { // Convert the image to a PDF and save it ImageToPdfConverter.ImageToPdf(new[] { qrImagePath }).SaveAs("QRCodeImageToPDF.pdf"); Console.WriteLine("QR Code image has been successfully converted to a PDF."); } else { Console.WriteLine("QR Code image not found. Please check the file path."); } $vbLabelText $csharpLabel Code Explanation File.Exists(qrImagePath): Verifies if the QR code image exists at the specified path before proceeding. ImageToPdfConverter.ImageToPdf(new[] { qrImagePath }): Converts the QR code image to a PDF using IronPDF’s image-to-PDF conversion method. SaveAs("QRCodeImageToPDF.pdf"): Saves the generated PDF as QRCodeImageToPDF.pdf. To convert multiple QR code images into a single PDF, please visit this Images to PDF page. For more code samples, please visit this code example page here. Run the Application Now that the code is in place, it's time to run the application and see the conversion in action. Follow these steps: Ensure that the QR code image (sample_qr_code.jpg) is correctly placed in the specified folder (e.g., the assets folder). Build and run the project in Visual Studio by pressing F5 or clicking Start. The application will convert the QR code image into a PDF if the image exists at the specified location. The generated PDF will be saved in the root of your project directory with the filename QRCodeImageToPDF.pdf. Check the PDF file to ensure the QR code image has been successfully embedded. You should now have a PDF containing your QR code image, which can be shared, printed, or archived. Here is the output PDF with the QR code image we used: Conclusion Using IronQR and IronPDF, creating and converting a QR code image to a PDF is simple and efficient. By following the steps outlined above, you can easily create a QR code image, convert it, and save it as a PDF in just a few lines of code. Whether for business or personal use, this approach ensures that your QR code is document-ready in PDF format and can be shared over the internet without any data or pixel loss. IronPDF provides a free trial so you can explore its features and capabilities for yourself. For those ready to unlock the full potential of the library, licenses start at $799, offering comprehensive access to all functionalities. Don't miss the opportunity to enhance your PDF generation—try IronPDF today by downloading it! 자주 묻는 질문 C#을 사용하여 QR 코드를 생성하고 PDF에 삽입하려면 어떻게 해야 하나요? IronQR 라이브러리를 사용하여 QR 코드를 생성하고 비트맵으로 저장할 수 있습니다. 그런 다음 IronPDF의 ImageToPdfConverter 클래스를 사용하여 QR코드 이미지를 PDF에 임베드합니다. .NET 애플리케이션에서 QR코드 이미지를 PDF로 변환하려면 어떤 단계를 거쳐야 하나요? 먼저 IronQR을 사용하여 QR 코드를 생성하고 이미지 파일로 저장합니다. 그런 다음 IronPDF의 ImageToPdfConverter를 사용하여 이미지 파일을 PDF 문서로 변환합니다. 크로스 플랫폼 환경에서 IronQR 및 IronPDF를 사용할 수 있나요? 예, IronQR과 IronPDF는 모두 플랫폼 간 호환성을 지원하므로 Windows, Linux, macOS, Android, iOS는 물론 Azure 및 AWS와 같은 클라우드 환경에서도 사용할 수 있습니다. QR 코드를 PDF로 변환하는 데 IronPDF를 사용하면 어떤 이점이 있나요? IronPDF는 이미지에서 PDF로 변환, HTML 지원, PDF 병합 및 분할과 같은 고급 기능을 포함한 강력한 PDF 조작 기능을 제공합니다. 따라서 문서화 가능한 QR 코드를 생성하는 데 이상적입니다. IronQR을 사용하여 QR 코드의 모양을 사용자 지정할 수 있나요? 예, IronQR은 색상, 크기 및 오류 수정 수준과 같은 매개 변수를 특정 요구에 맞게 조정할 수 있도록 QR 코드 스타일링에 대한 고급 사용자 지정 옵션을 제공합니다. 프로젝트에서 IronQR 및 IronPDF 라이브러리를 사용하려면 어떻게 시작하나요? Visual Studio의 NuGet 패키지 관리자를 사용하여 IronQR 및 IronPDF 패키지를 설치합니다. 패키지를 검색하고 설치하여 .NET 애플리케이션에서 해당 기능을 사용하세요. IronPDF는 개발자를 위해 어떤 문제 해결 기능을 제공하나요? IronPDF는 이미지에서 PDF로 변환, HTML 임베딩, 보안 설정 등의 기능을 통해 PDF 생성 및 조작을 간소화하여 개발자가 애플리케이션에서 PDF 문서를 효율적으로 처리할 수 있도록 지원합니다. QR 코드를 PDF로 성공적으로 변환하려면 어떻게 해야 하나요? QR코드 이미지가 올바른 폴더에 제대로 저장되었는지 확인합니다. 그런 다음 Visual Studio에서 프로젝트를 빌드하고 실행하여 애플리케이션이 이미지에 올바르게 액세스하고 PDF로 변환하는지 확인합니다. 구매하기 전에 IronPDF의 기능을 테스트할 수 있는 방법이 있나요? 예, IronPDF는 무료 평가판을 제공하므로 구매 결정을 내리기 전에 기능을 탐색하고 기능을 평가할 수 있습니다. IronPDF는 .NET 10과 완벽하게 호환되며, .NET 10 프로젝트에서 QR 코드를 PDF로 변환하는 기능을 사용할 수 있나요? 예. IronPDF는 .NET 10(이전 .NET Core, Standard 및 Framework 버전과 함께)을 지원하므로 호환성 문제 없이 IronQR로 QR 코드를 생성하고 .NET 10 프로젝트에서 IronPDF를 사용하여 PDF로 임베드하거나 변환할 수 있습니다. 커티스 차우 지금 바로 엔지니어링 팀과 채팅하세요 기술 문서 작성자 커티스 차우는 칼턴 대학교에서 컴퓨터 과학 학사 학위를 취득했으며, Node.js, TypeScript, JavaScript, React를 전문으로 하는 프론트엔드 개발자입니다. 직관적이고 미적으로 뛰어난 사용자 인터페이스를 만드는 데 열정을 가진 그는 최신 프레임워크를 활용하고, 잘 구성되고 시각적으로 매력적인 매뉴얼을 제작하는 것을 즐깁니다. 커티스는 개발 분야 외에도 사물 인터넷(IoT)에 깊은 관심을 가지고 있으며, 하드웨어와 소프트웨어를 통합하는 혁신적인 방법을 연구합니다. 여가 시간에는 게임을 즐기거나 디스코드 봇을 만들면서 기술에 대한 애정과 창의성을 결합합니다. 관련 기사 업데이트됨 1월 22, 2026 How to Create PDF Documents in .NET with IronPDF: Complete Guide Discover effective methods to create PDF files in C# for developers. Enhance your coding skills and streamline your projects. Read the article now! 더 읽어보기 업데이트됨 1월 21, 2026 How to Merge PDF Files in VB.NET: Complete Tutorial Merge PDF VB NET with IronPDF. Learn to combine multiple PDF files into one document using simple VB.NET code. Step-by-step examples included. 더 읽어보기 업데이트됨 1월 21, 2026 C# PDFWriter Tutorial: Create PDF Documents in .NET Learn to create PDFs efficiently using C# PDFWriter with this step-by-step guide for developers. Read the article to enhance your skills today! 더 읽어보기 How to Add Images to PDF in VB .NETHow to Read PDF Table in C#
업데이트됨 1월 22, 2026 How to Create PDF Documents in .NET with IronPDF: Complete Guide Discover effective methods to create PDF files in C# for developers. Enhance your coding skills and streamline your projects. Read the article now! 더 읽어보기
업데이트됨 1월 21, 2026 How to Merge PDF Files in VB.NET: Complete Tutorial Merge PDF VB NET with IronPDF. Learn to combine multiple PDF files into one document using simple VB.NET code. Step-by-step examples included. 더 읽어보기
업데이트됨 1월 21, 2026 C# PDFWriter Tutorial: Create PDF Documents in .NET Learn to create PDFs efficiently using C# PDFWriter with this step-by-step guide for developers. Read the article to enhance your skills today! 더 읽어보기