| View previous topic :: View next topic |
| Author |
Message |
Guest
|
Posted: Wed Feb 06, 2008 1:38 am Post subject: |
|
|
| 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... |
|
| Back to top |
|
 |
tic
Joined: 22 Apr 2007 Posts: 1786
|
Posted: Wed Feb 06, 2008 1:54 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
Plankton Guest
|
Posted: Sun Mar 09, 2008 11:54 am Post subject: |
|
|
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?  |
|
| Back to top |
|
 |
Stelimar
Joined: 02 Apr 2008 Posts: 10
|
Posted: Sat Apr 19, 2008 4:53 am Post subject: |
|
|
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 |
|
| Back to top |
|
 |
Krogdor
Joined: 18 Apr 2008 Posts: 1390 Location: The Interwebs
|
Posted: Wed May 28, 2008 12:33 am Post subject: |
|
|
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? >< |
|
| Back to top |
|
 |
tic
Joined: 22 Apr 2007 Posts: 1786
|
Posted: Wed May 28, 2008 1:35 am Post subject: |
|
|
Is there a problem with this function.....
ConvertImage()
? |
|
| Back to top |
|
 |
Krogdor
Joined: 18 Apr 2008 Posts: 1390 Location: The Interwebs
|
Posted: Wed May 28, 2008 1:50 am Post subject: |
|
|
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? |
|
| Back to top |
|
 |
tic
Joined: 22 Apr 2007 Posts: 1786
|
Posted: Wed May 28, 2008 2:01 am Post subject: |
|
|
| No. I was just suggesting that as an alternative. What do you want to do exactly? |
|
| Back to top |
|
 |
Krogdor
Joined: 18 Apr 2008 Posts: 1390 Location: The Interwebs
|
Posted: Wed May 28, 2008 4:30 am Post subject: |
|
|
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 |
|
| Back to top |
|
 |
oversky
Joined: 03 Nov 2005 Posts: 12
|
Posted: Sat Oct 11, 2008 12:06 pm Post subject: |
|
|
| Is it possible to to make it work with the metafile in the clipboard? Figures from excel, powerpoint, and matlab are all metafiles. |
|
| Back to top |
|
 |
R_P
Joined: 23 Jul 2009 Posts: 3
|
Posted: Thu Jul 23, 2009 4:49 am Post subject: Image Hash Value |
|
|
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 |
|
| Back to top |
|
 |
SKAN
Joined: 26 Dec 2005 Posts: 8688
|
|
| Back to top |
|
 |
daedal
Joined: 02 Feb 2008 Posts: 4
|
Posted: Sun Dec 27, 2009 2:27 am Post subject: |
|
|
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 |
|
| Back to top |
|
 |
Guest
|
Posted: Thu Dec 31, 2009 9:31 pm Post subject: |
|
|
| 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. |
|
| Back to top |
|
 |
er0ck Guest
|
Posted: Thu Oct 14, 2010 1:38 pm Post subject: help |
|
|
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)) |
|
| Back to top |
|
 |
|