Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

GDI+ voodoo by tic


  • Please log in to reply
7 replies to this topic
tic
  • Members
  • 1934 posts
  • Last active: May 30 2018 08:13 PM
  • Joined: 22 Apr 2007
Ok, so I randomly write little snippets of gdi+ goodness and litter them all around the place and thought I'd collect them here for you.

You will need Gdip.ahk for all of the examples

You can learn how to use gdi+ using the tutorials:

GDI+ standard library by tic

These will be a collection of programs and functions that you can use. The gdi+ library is completely free to use as you like. You can also use all functions I release here as you wish, but some full programs I will release only for non-commercial use

Showcase 1 - SAIRA

A batch resizing/converting program. SAIRA is for non-commercial use only

Posted Image

More to come.....

Lucid_Method
  • Members
  • 147 posts
  • Last active: Dec 06 2014 08:39 AM
  • Joined: 19 Apr 2010
I like the image converter, I made a similar tool but yours looks better :-) looking forward to more examples - thanks

Chicken Pie 4 Tea
  • Members
  • 379 posts
  • Last active: Dec 12 2014 06:46 PM
  • Joined: 18 Aug 2009
The SAIRA doesnt work for me - and i hve put the Gdip.ahk and the .dll in the same dir as the script.
I get the error pop up pointing to this line
If !pToken := Gdip_Startup()
---------------
sorry I see what the problem was. this line was commented out for some reason:
#Include, Gdip.ahk

I removed the semicolon ; and now its fine, why was it commented out?
-----------------------
Its a good resizer prog. whats missing is : oportunity to prefix the resized pictures with a different name eg "resized_mypic"
and it would be good if it remembered the last setting as you always have to change it from 100%
"Choose your parents wisely"

tic
  • Members
  • 1934 posts
  • Last active: May 30 2018 08:13 PM
  • Joined: 22 Apr 2007

I removed the semicolon ; and now its fine, why was it commented out?


Sorry, I should mention that it is commented out because you dont need to use #Include for something that is in your standard library:

c:\program files\autohotkey\lib

or similar

Edit:

Do you think I should have all the "voodoo" series in this 1 post or have them all as separate posts, linked to on the gdi+ thread?

Chicken Pie 4 Tea
  • Members
  • 379 posts
  • Last active: Dec 12 2014 06:46 PM
  • Joined: 18 Aug 2009
I think it would make sense at the moment to have them all in this post. If one became much more popular than the rest (with lots of suggestions or questions) it may then need its own thread.
"Choose your parents wisely"

Frankie
  • Members
  • 2930 posts
  • Last active: Feb 05 2015 02:49 PM
  • Joined: 02 Nov 2008
Maybe this would be a good place to link to the various scripts scattered around the 32 pages of your Gdi+ thread. I think they would fit better here than in the main thread. (its a pain to look through almost 500 posts)
aboutscriptappsscripts
Request Video Tutorials Here or View Current Tutorials on YouTube
Any code ⇈ above ⇈ requires AutoHotkey_L to run

Learning one
  • Members
  • 1483 posts
  • Last active: Jan 02 2016 02:30 PM
  • Joined: 04 Apr 2009
@tic: SAIRA is really nice & useful. Thanks. :) Love your voodoo.

  • Guests
  • Last active:
  • Joined: --
This is bloody amazing.

I have never posted in this forum - only lurking for the solutions. But this, along with the other things you've done, is utterly wonderful.

Thank you so much.