AutoHotkey Community

It is currently May 26th, 2012, 7:26 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 108 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8  Next
Author Message
 Post subject:
PostPosted: February 6th, 2008, 2:38 am 
grupo wrote:
...I noticed that you will try to use it for commercial purposes.

...whoa!...holy crap...I had not seen that other post, I was only responding to this post here, with no mention of re-selling the code...

Safeguard wrote:
Good question, though, separately the scripts in this forum are free and fair game to be incorporated into products and (be resold) for profit.

...I disagree, you shouldn't really sell code that you couldn't write yourself...but if I can code & you can sell, then we can have a partnership, you make money, I make money...& I really need to make money...if you actually make a profit off the code, does it really hurt you to pay the person that made your software, actually work?...

Safeguard wrote:
Otherwise, do (or you should not) post in this forum. :)

...well, I respond & post code in the forum trying to help individual people (or freeware/open source projects), not companies that can't code for themselves...I would fully support my code being "sold" if I could have a piece of the pie...

Safeguard wrote:
Hi Grupo -- I presume you are Guest...
grupo wrote:
I am not "this guest"...

...not that I can prove it, but *I* am the Guest that wrote the code (aka JSLover)...I am only currently not logging in & I really plan to start logging in again soon, to avoid this confusion...

tic wrote:
out of principle i will not help guest accounts.

...I disagree with "not helping" Guests...I think it's great this forum doesn't require logging in...

tic wrote:
i think it is a sly way of posting

...perhaps, if companies use it to "hire" free coders...but I am using Guest simply out of current necessity...


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: February 6th, 2008, 2:54 am 
Offline

Joined: April 22nd, 2007, 6:33 pm
Posts: 1833
yes, you cant be sure who the person is.

i have no problem with helping someone make a commercial program, but for them to have someone write it for them and try to hide behind their "guest" guise is very underhand.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 9th, 2008, 12:54 pm 
Hello, I hope someone can help me. After working with this general code to do image conversions, after conversion of original input image, ... the converted image is created.... however, the windows filesystem seems to retain a lock on the original file (i.e it cannot be moved, deleted, etc. thereafter). The only way it seems to release it is to shut down the script. How do I release this properly under this code? :)


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: April 19th, 2008, 5:53 am 
Offline

Joined: April 2nd, 2008, 11:30 pm
Posts: 10
Hey, just wanted to say AWESOME WORK! This was exactly what I was looking for to use in my current project. Keep up the good work.

_________________
All-in-One RuneScape Macro


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 28th, 2008, 1:33 am 
Offline

Joined: April 18th, 2008, 7:57 am
Posts: 1390
Location: The Interwebs
This seems very impressive, and I know a ton of work must have gone into it... However, it... doesn't work for me. Trying to run the test script I get the message box with height and width, then immediately receive an error message reading:
Error message wrote:
---------------------------
GDIplus Test
---------------------------
Error in GDIplus_GetEncoderCLSID (: ) 0 (at GDIplus_GetEncoderCLSID for JPG)
---------------------------
OK
---------------------------


I'd really like to use these functions, as I could use some image editing... is there anything I might be doing wrong? ><


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 28th, 2008, 2:35 am 
Offline

Joined: April 22nd, 2007, 6:33 pm
Posts: 1833
Is there a problem with this function.....

ConvertImage()

?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 28th, 2008, 2:50 am 
Offline

Joined: April 18th, 2008, 7:57 am
Posts: 1390
Location: The Interwebs
I believe I have made that function work, let me confirm...



Yes, that function works exactly as designed.... I'm guessing you asked to check if there was some sort of problem with my computer's GDIplus DLL?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 28th, 2008, 3:01 am 
Offline

Joined: April 22nd, 2007, 6:33 pm
Posts: 1833
No. I was just suggesting that as an alternative. What do you want to do exactly?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 28th, 2008, 5:30 am 
Offline

Joined: April 18th, 2008, 7:57 am
Posts: 1390
Location: The Interwebs
Oh, lol. Sorry ^^

I am actually trying to crop via a GDIplus_cropimage() function made by Paulo-nli (as seen in this thread)

If you happen to have any other suggestions for a good way to crop without GDI+, please share (:

Edit: Nvm, found it was just a bit of a user error... Great job on the script, PhiLho :3


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 11th, 2008, 1:06 pm 
Offline

Joined: November 3rd, 2005, 2:24 am
Posts: 12
Is it possible to to make it work with the metafile in the clipboard? Figures from excel, powerpoint, and matlab are all metafiles.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Image Hash Value
PostPosted: July 23rd, 2009, 5:49 am 
Offline

Joined: July 23rd, 2009, 5:36 am
Posts: 3
When using GDIplusWrapper, can anyone tell me how I could get a hash value of the image (rectangular section of a window to be exact)?

I'd like to create hash values of things on the screen so that I don't have to store the bitmaps and can later image match without requiring files.

I have a hash function but I'm not familiar enough with DLLs to know how to retrieve the actual bitmap and run it through a hash. The bitmap variables seem to be pointers or something.

Thanks - Rob


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 23rd, 2009, 6:07 am 
Offline
User avatar

Joined: December 26th, 2005, 4:40 pm
Posts: 8775
PixelCheckSum()


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 27th, 2009, 3:27 am 
Offline

Joined: February 2nd, 2008, 4:22 am
Posts: 4
Hi everyone, awesome bit of coding people. I've been attempting to use GDIplus_LoadBitmapFromClipboard and it works fine, but after I use it, the clipboard becomes unusable until the ahk script is closed. I can no longer copy and paste as I think the clipboard is being held open by this function. Still a bit of a noob, just wondering if there's a way to regain the use of the clipboard? Thanks

EDIT: lol whoops, I was using GDIPlusHelper which didn't have the complete/updated version of the function from GDIPlusWrapper. Fixed now, awesome


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 31st, 2009, 10:31 pm 
I think a similar script that would allow the resizing of pictures would be very useful. It could give you some set choices of sizes and would be useful if you had a lot of pictures to resize for the web from high resolution files to say 75dpi files.


Report this post
Top
  
Reply with quote  
 Post subject: help
PostPosted: October 14th, 2010, 2:38 pm 
i have had no trouble with some other GDI scripts
i really want to save a portion of my screen to a png

when i try the testGDIplus.ahk i get -

error in GDIplus_GetEncoderCLSID (UnknownImageFormat:) 0 (at
GDIplus_GetEncoderCLSID for PNG (screenshot))


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 108 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Apollo, Exabot [Bot] and 15 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group