This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Generate Code 39 Barcode in Python | |
| # Read the full guide here: https://blog.aspose.com/barcode/generate-code-39-barcode-in-python/ | |
| # Complete working example to generate a Code 39 barcode in Python | |
| import asposebarcode as barcode | |
| def generate_code39(text: str, output_path: str): | |
| # Initialize the barcode generator | |
| generator = barcode.BarCodeGenerator() | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Generate and Read Royal Mail QR Code in Python | |
| # Read the full guide here: https://blog.aspose.com/barcode/generate-and-read-royal-mail-qr-code-in-python/ | |
| import asposebarcode as barcode | |
| # 1. Initialize the generator for QR code | |
| generator = barcode.BarcodeGenerator( | |
| symbology=barcode.Symbology.QR, | |
| code_text="1234567890" # Sample data required by Royal Mail | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Step-by-Step Guide to Read QR Code from Image in Python | |
| # Read the full guide here: https://blog.aspose.com/barcode/step-by-step-guide-to-read-qr-code-from-image-in-python/ | |
| # Complete working example for reading a QR code from an image file | |
| # Import the BarCodeReader class from Aspose.BarCode | |
| from asposebarcode import BarCodeReader, DecodeType | |
| def read_qr_from_image(image_path: str) -> str: | |
| """ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Generate Barcode for Healthcare Applications in .NET | |
| // Read the full guide here: https://blog.aspose.com/barcode/generate-barcode-for-healthcare-applications-in-dotnet/ | |
| using System; | |
| using Aspose.BarCode.Generation; | |
| using Aspose.BarCode.BarCodeImage; | |
| class HealthcareBarcodeDemo | |
| { | |
| static void Main() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Convert Shapefile to KML in Python | |
| # Read the full guide here: https://blog.aspose.com/gis/convert-shapefile-to-kml-in-python/ | |
| # Complete working example: Convert Shapefile to KML using Aspose.GIS for Python via .NET | |
| import os | |
| from aspose.gis import VectorLayer, KmlWriter, KmlOptions | |
| def convert_shapefile_to_kml(input_shp: str, output_kml: str): | |
| # Validate input file |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Convert Shapefile to JPG in Python | |
| # Read the full guide here: https://blog.aspose.com/gis/convert-shapefile-to-jpg-in-python/ | |
| import aspose.gis as gis | |
| from aspose.gis import GisDocument, ImageRenderer, ImageExportOptions, Color, Size, CoordinateSystem | |
| # 1. Load the Shapefile | |
| doc = GisDocument() | |
| doc.open("data/roads.shp") # Replace with your Shapefile path |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Write Text on JPG Image in .NET-STEP-by-STEP Guide | |
| // Read the full guide here: https://blog.aspose.com/drawing/write-text-on-jpg-image-in-dotnetstep-by-step-guide/ | |
| using System; | |
| using Aspose.Drawing; | |
| using Aspose.Drawing.Imaging; | |
| using Aspose.Drawing.Drawing2D; | |
| using Aspose.Drawing.Fonts; | |
| using Aspose.Drawing.Brushes; | |
| using Aspose.Drawing.Colors; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // How to Create and Draw on Bitmaps with Aspose.Drawing in .NET | |
| // Read the full guide here: https://blog.aspose.com/drawing/how-to-create-and-draw-on-bitmaps-with-asposedrawing-in-dotnet/ | |
| using System; | |
| using Aspose.Drawing; | |
| using Aspose.Drawing.Imaging; | |
| using Aspose.Drawing.Imaging.ImageOptions; | |
| using Aspose.Drawing.Drawing2D; | |
| namespace BitmapDemo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Add Insert or Draw Text on PNG JPEG TIFF Icon GIF Image Java | |
| // Read the full guide here: https://blog.aspose.com/slides/add-insert-or-draw-text-on-png-jpeg-tiff-icon-gif-image-java/ | |
| import com.aspose.slides.*; | |
| import java.awt.*; | |
| import java.awt.image.*; | |
| public class TextOverlayExample { | |
| public static void main(String[] args) throws Exception { | |
| // Load source image (PNG, JPEG, TIFF, ICON, or GIF) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // GEOJSON to Topojson Conversion in .NET: Sample Guide | |
| // Read the full guide here: https://blog.aspose.com/gis/geojson-to-topojson-conversion-in-dotnet-sample-guide/ | |
| using System; | |
| using System.Threading.Tasks; | |
| using Aspose.GIS; | |
| using Aspose.GIS.Geometries; | |
| using Aspose.GIS.IO; | |
| using Aspose.GIS.IO.GeoJson; | |
| using Aspose.GIS.IO.TopoJson; |