GithubHelp home page GithubHelp logo

fafalone / wicdemo64 Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 6.19 MB

Windows Imaging Component Demo

License: MIT License

Visual Basic 6.0 100.00%
twinbasic vb6 wic windows windows-graphics windows-imaging-component windows-shell

wicdemo64's Introduction

WICDemo64

Windows Imaging Component Demo

image

Thought I'd see if my WIC demo worked in tB. Happy to report the initial import of the VB6 project worked flawlessly. From there I rewrote for 64bit. Thought it's worth noting how much easier WinDevLib API modules make this: Rather than go through and update all the Win API defs, all I did was comment them out, letting WinDevLib take over those in addition to taking over the COM interfaces from oleexp. After a minor hiccup (major bug in WinDevLib.IStream, now fixed), all that needed to be modified was removing some oleexp. qualifiers, switching GetObject to GetObjectW since the intrinsic version was getting priority, and changing handles/pointers to LongPtr.

Attached is the 64bit port, and a zip with the original VB6 project and unmodified tB import.

Update (Version 0.4, 06 Apr 2024): - Bug fixes to work with latest WDL versions (Issue #1). Fix save notification position.

Update (Version 0.3, 03 Mar 2024): Added BMP save option; also .twinproj has been updated to use a more recent version of WinDevLib (formerly tbShellLib) due to errors in the package tB did not raise at the time this project was released.

Original project page: [VB6] Intro to the Windows Imaging Component (WIC): Scale and convert JPG to PNG (the attached version adds BMP as a supported save format)

wicdemo64's People

Contributors

fafalone avatar

Stargazers

Mike avatar

Watchers

 avatar Mike avatar

Forkers

xxdoc

wicdemo64's Issues

Errors in WICImage.cls (tB v494)

Was looking for improved PNG support in tB so downloaded your 64-bit version of WICDemo for a test run. Thanks for providing this!

When I opened your tB Project in tB v494, I see 4 errors. They are all similar to this one (whenever passing a 0& for WICRect type):

image

Thanks again,

Mike

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.