| View previous topic :: View next topic |
| Author |
Message |
Paulo-nli Guest
|
Posted: Mon Jun 18, 2007 9:50 pm Post subject: |
|
|
| PhiLho wrote: | ...although some numbers seems to be semi-random (brightness of some billion units?)
|
Hi, there are really some values I can't understand, but most of then seems ok, maybe these strange numbers are manufacturer's specific codes  |
|
| Back to top |
|
 |
NoCleverName
Joined: 18 Jun 2007 Posts: 9
|
Posted: Wed Jun 20, 2007 2:49 pm Post subject: |
|
|
| Ok, so this is probably a stupid question that is already answered, but I couldn't get a clear answer from the thread for it. Does GDI do any image resizing at all right now? If so, could someone point me in the direction of some instructions and if not does anyone know how an AHK script might be able to do that? |
|
| Back to top |
|
 |
Rhys
Joined: 17 Apr 2007 Posts: 707 Location: Florida
|
Posted: Wed Oct 31, 2007 5:42 pm Post subject: |
|
|
Is there a way to get GDI (or another AHK method) to display the bitmap GDI has loaded into memory after a CaptureScreen call? I want to give people the option to preview the image before committing it to disk. I'll use a temporary file if I have to but I thought it would be easier to just display the capture w/o bothering with a disk write and delete. _________________ [Join IRC!]
 |
|
| Back to top |
|
 |
tic
Joined: 22 Apr 2007 Posts: 1334
|
Posted: Wed Oct 31, 2007 5:47 pm Post subject: |
|
|
@NoCleverName
try using stretchblt
@Rhys
you could also use stretchblt or bitblt withoutusing temp files, or more easily just write it to %A_Temp% and then Gui, Add, Picture |
|
| Back to top |
|
 |
tic
Joined: 22 Apr 2007 Posts: 1334
|
Posted: Wed Oct 31, 2007 6:21 pm Post subject: |
|
|
Ive removed this post. Sorry
Last edited by tic on Thu Nov 01, 2007 1:38 am; edited 1 time in total |
|
| Back to top |
|
 |
Rhys
Joined: 17 Apr 2007 Posts: 707 Location: Florida
|
Posted: Wed Oct 31, 2007 6:31 pm Post subject: |
|
|
@ tic - Thanks, I'm going to use the temp file since it's easier (read: I know how to do it) than the other method.
@ noclevername - http://www.autohotkey.com/forum/viewtopic.php?t=12012 is a good example of using GDI to resize images (Screenshot app with thumbnail generation). _________________ [Join IRC!]
 |
|
| Back to top |
|
 |
Sean
Joined: 12 Feb 2007 Posts: 1281
|
Posted: Thu Nov 01, 2007 12:00 am Post subject: |
|
|
| tic wrote: | | You can download the whole thing as a zip: |
Don't you think it's rude to play with someone else's scripts like this in public, even without mentioning the original posts?
Even some of them are supposed to be used as the Standard Library.
I already saw you doing this once, so I guess it's not unusual thing with you. |
|
| Back to top |
|
 |
tic
Joined: 22 Apr 2007 Posts: 1334
|
Posted: Thu Nov 01, 2007 1:38 am Post subject: |
|
|
| Quote: | Don't you think it's rude to play with someone else's scripts like this in public, even without mentioning the original posts?
Even some of them are supposed to be used as the Standard Library.
I already saw you doing this once, so I guess it's not unusual thing with you. |
Im very sorry. I did not mean to offend. I posted it in the same thread I thought just as an example of how it could be used for anyone that wanted to be able to use it. I will not do this again if it is not wanted. I was only hoping to demonstrate to someone that may be new to ahk of a way to use it. I just wanted to help people
If I forgot to give someone credit before then I didnt mean to, but Id say its a stretch to say that thats normal for me when I have over 600 posts, and in 1 or 2 Ive forgotten to credit someone
Edit: Ok. Im sorry. I realised what I did. I posted in the wrong topic. I meant to post it here:
http://www.autohotkey.com/forum/topic18146.html
but I got them mixed up. You didnt have to bite my head off about it though. You could have just told me it was the wrong topic
Last edited by tic on Thu Nov 01, 2007 1:57 am; edited 1 time in total |
|
| Back to top |
|
 |
Sean
Joined: 12 Feb 2007 Posts: 1281
|
Posted: Thu Nov 01, 2007 1:56 am Post subject: |
|
|
| tic wrote: | | Im very sorry. I did not mean to offend. |
It's OK now. I'm almost sure now that you're young. That's the most precious thing IMO. Don't put it at a risk with these trivial social stuffs. |
|
| Back to top |
|
 |
tic
Joined: 22 Apr 2007 Posts: 1334
|
Posted: Thu Nov 01, 2007 1:57 am Post subject: |
|
|
| Sean wrote: | | tic wrote: | | Im very sorry. I did not mean to offend. |
It's OK now. I'm almost sure now that you're young. That's the most precious thing IMO. Don't put it at a risk with these trivial social stuffs. |
Heh. Im not that young  |
|
| Back to top |
|
 |
Sean
Joined: 12 Feb 2007 Posts: 1281
|
Posted: Thu Nov 01, 2007 2:05 am Post subject: |
|
|
| tic wrote: | | You didnt have to bite my head off about it though. |
I didn't bite your head off, obviously.
| Quote: | | You could have just told me it was the wrong topic |
How could I know you were supposed to post in other thread? |
|
| Back to top |
|
 |
tic
Joined: 22 Apr 2007 Posts: 1334
|
Posted: Thu Nov 01, 2007 2:10 am Post subject: |
|
|
| Quote: | You could have just told me it was the wrong topic
How could I know you were supposed to post in other thread? |
Fair point. Sorry for the mixup. Please assume in future that my intentions are good |
|
| Back to top |
|
 |
SKAN
Joined: 26 Dec 2005 Posts: 5721
|
Posted: Sat Nov 03, 2007 1:38 am Post subject: |
|
|
@PhiLho: Many thanks for GDIplus_CaptureScreenRectangle
I needed a satellite image to photo-print of a land that I am about to own ( Target: 12x8 inches @ 200 DPI - translates to 2400x1600 pixels ).
My screen resolution is 1440x900, and so
I took four seperate snapshots of 1200x800 ( at maximum zoom provided by wikimapia ) by combining your wonderful function with MouseClickDrag,
and stitched them together with PaintShop to form a 2400x1600 image,
and here it is : PNG Image ( Note: 5.2 MB! )
I actually had used your code posted here, and yet, I thought bumping this topic would be more relevant.
Thanks  |
|
| Back to top |
|
 |
ahklerner
Joined: 26 Jun 2006 Posts: 1149 Location: USA
|
Posted: Sat Nov 03, 2007 2:24 am Post subject: |
|
|
Off topic post, sorry.
Skan,
Are you sure this is not a treasure map? I see 4 "x marks the spot" locations... ...In all seriousness though, what is the fruit of the trees? _________________
 |
|
| Back to top |
|
 |
SKAN
Joined: 26 Dec 2005 Posts: 5721
|
Posted: Sat Nov 03, 2007 11:46 am Post subject: |
|
|
| ahklerner wrote: | Are you sure this is not a treasure map? I see 4 "x marks the spot" locations... |
The Land itself is a treasure in this part of world
The map shows a land that has appreciated more than 10 times in a short span of 18 months.
| ahklerner wrote: | ...In all seriousness though, what is the fruit of the trees? |
Actually, it is a very old image wikimapia is providing and my best guess is it has been taken somewhere in middle of year 2000.
The land is now fully covered with Casuarina equisetifolia
 |
|
| Back to top |
|
 |
|