{"id":23776133,"url":"https://github.com/aspose-imaging/aspose.imaging-for-python-net","last_synced_at":"2025-09-05T19:32:41.011Z","repository":{"id":142484580,"uuid":"599996892","full_name":"aspose-imaging/Aspose.Imaging-for-Python-Net","owner":"aspose-imaging","description":"Aspose.Imaging for Python examples, plugins and showcase projects ","archived":false,"fork":false,"pushed_at":"2024-11-12T12:50:12.000Z","size":53967,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":14,"default_branch":"main","last_synced_at":"2024-12-02T15:00:31.234Z","etag":null,"topics":["crop","exif-remover","image-compression","image-conversion","image2pdf","imageformats","library","linux","macos","python","resize","rotate","windows","wmf2svg"],"latest_commit_sha":null,"homepage":"https://products.aspose.com/imaging/python-net","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aspose-imaging.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-10T10:53:29.000Z","updated_at":"2024-11-12T12:48:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"2d0d206d-4d17-447f-8410-a43ebbbd36ab","html_url":"https://github.com/aspose-imaging/Aspose.Imaging-for-Python-Net","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aspose-imaging%2FAspose.Imaging-for-Python-Net","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aspose-imaging%2FAspose.Imaging-for-Python-Net/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aspose-imaging%2FAspose.Imaging-for-Python-Net/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aspose-imaging%2FAspose.Imaging-for-Python-Net/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aspose-imaging","download_url":"https://codeload.github.com/aspose-imaging/Aspose.Imaging-for-Python-Net/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232055408,"owners_count":18466161,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["crop","exif-remover","image-compression","image-conversion","image2pdf","imageformats","library","linux","macos","python","resize","rotate","windows","wmf2svg"],"created_at":"2025-01-01T07:13:02.206Z","updated_at":"2025-01-01T07:13:02.642Z","avatar_url":"https://github.com/aspose-imaging.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"![GitHub all releases](https://img.shields.io/github/downloads/aspose-imaging/Aspose.imaging-for-Python-NET/total) ![GitHub](https://img.shields.io/github/license/aspose-imaging/Aspose.imaging-for-Python-NET)\n----\n\n# API for Image Processing\n\n[Aspose.Imaging for Python via .NET](https://products.aspose.com/imaging/python-net) is Another Python Imaging Library offering advanced image processing features. Developers can create, edit or convert images in their own application. Also **Aspose.Imaging** library supports drawing and work with graphic primitives. Image exporting and conversion (including uniform multi-page image processing) is the one of API core features along with image transformations (resize, crop, flip\u0026rotate, binarization, grayscale, adjust), advanced image manipulation features (filtering, dithering, masking, deskewing) and memory optimization strategies.\n\n\u003cp align=\"center\"\u003e \n  \u003ca title=\"Download ZIP\" href=\"https://github.com/aspose-imaging/Aspose.Imaging-for-Python-NET/archive/main.zip\"\u003e\n     \u003cimg src=\"http://i.imgur.com/hwNhrGZ.png\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\nDirectory | Description\n--------- | -----------\n[Examples](Examples)  | A collection of Python examples that help you learn the product features.\n\n## Imaging Features\n\n- [Draw raster images with graphics](https://docs.aspose.com/imaging/python-net/drawing-images-using-graphics/).\n- [Draw vector images](https://docs.aspose.com/imaging/python-net/drawing-vector-images/).\n- [Convert images to various formats](https://docs.aspose.com/imaging/python-net/converting-images/).\n- [Apply masking](https://docs.aspose.com/imaging/python-net/applying-masking-to-images/) as well as [Median \u0026 Wiener](https://docs.aspose.com/imaging/python-net/applying-median-and-wiener-filters/) filters.\n- [Crop, rotate \u0026 resize images via API](https://docs.aspose.com/imaging/python-net/crop-rotate-and-resize-images/).\n- [De-skew \u0026 transform images](https://docs.aspose.com/imaging/python-net/deskew-image/).\n- [Set image properties](https://docs.aspose.com/imaging/python-net/setting-properties-on-images/).\n- [Work with multipage image formats](https://docs.aspose.com/imaging/python-net/working-with-multipage-image-formats/).\n\n## Load \u0026 Save Image Formats\n\n**Raster Formats:** JPEG2000, JPEG, BMP, TIFF, GIF, PNG, DICOM, TGA, ICO\\\n**Metafiles:** EMF, WMF\\\n**Compressed metafiles:** EMZ, WMZ\\\n**Other:** WebP, Svg, Svgz (compressed Svg), DXF\\\n**Animation:** Apng\n\n## Save Images As\n**Fixed-layout:** PDF\\\n**Photoshop:** PSD\\\n**Web:** Html5 Canvas\n\n## Load Images\n\n**Various:** DjVu, DNG, ODG, EPS, CMX, CDR, DIB, OTG, FODG\n\n## Platform Independence\n\nAspose.Imaging for Python via .NET can be used to develop applications on Windows Desktop (x86, x64), Windows Server (x86, x64), Windows Azure, as well as Linux x64, macOS 10.14 (x86_64), and macOS 11.0 (arm64) . Aspose.Imaging for Python is based on .NET Core 6.0 platform, so you need install it as well.\n\n## Get Started with Aspose.Imaging for Python via .NET\n\nAre you ready to give Aspose.Imaging for Python via .NET a try? Simply execute run this command: `pip install aspose-imaging-python-net`.\n\n## Resize a JPG Image\n\n``` python\nwith Image.load(\"template.jpg\") as image:\n    image.resize(300, 300)\n    image.save(\"output.jpg\")\n```\n\n## Create \u0026 Manipulate PNG via API\n\n``` python\n# image width and height\nwidth = 500\nheight = 300\n\n# where created image to store\npath = \"createdImage.png\"\n# create options\noptions = PngOptions()\noptions.source = FileCreateSource(path, False)\nwith Image.create(options, width, height) as image:\n    # create and initialize an instance of Graphics class \n    # and clear Graphics surface\n    graphic = Graphics(image)\n    graphic.clear(Color.green)\n    # draw line on image\n    graphic.draw_line(Pen(Color.blue), 9, 9, 90, 90)  \n\n    # resize image\n    new_width = 400\n    image.resize_width_proportionally(new_width, ResizeType.LANCZOS_RESAMPLE);  \n\n    # crop the image to specified area\n    area = Rectangle(10, 10, 200, 200)\n    image.crop(area)\n   \n    image.save()\n}\n```\n\n----\n[Home](https://www.aspose.com/) | [Product Page](https://products.aspose.com/imaging/python-net) | [Docs](https://docs.aspose.com/imaging/python-net/) | [Demos](https://products.aspose.app/imaging/family) | [API Reference](https://reference.aspose.com/imaging/python-net) | [Examples](https://github.com/aspose-imaging/Aspose.Imaging-for-Python-NET) | [Blog](https://blog.aspose.com/category/imaging/) | [Search](https://search.aspose.com/) | [Free Support](https://forum.aspose.com/c/imaging) | [Temporary License](https://purchase.aspose.com/temporary-license) | [Package page](https://pypi.org/project/aspose-imaging-python-net/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faspose-imaging%2Faspose.imaging-for-python-net","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faspose-imaging%2Faspose.imaging-for-python-net","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faspose-imaging%2Faspose.imaging-for-python-net/lists"}