|
-
May 1st, 2025, 10:49 PM
#1
VB6 - Simple Picture Converter & Cropper with BitmapDecoder & BitmapEncoder Classes
UPDATE: post #16 below contains a new version of this project using a XAML Image Control instead of a vanilla PictureBox!
This project allows you to convert various picture formats, optionally apply some transforms (Scale, Flip, Rotation, Crop) and save the result as another format.
A TypeLib with the required WinRT interface definitions is included in the ZIP archive, don't forget to set a reference to it.
Many picture formats are supported as seen in this screenshot. Transparency is preserved for PNGs, GIFs and other formats supporting it.

Here is the demo project: BitmapEncoder.zip
Requirements: Windows 10 or later!
Last edited by VanGoghGaming; Sep 10th, 2025 at 11:47 PM.
Reason: New version
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|