|
-
Jan 28th, 2003, 08:22 PM
#1
Thread Starter
Frenzied Member
Improving quality of Icons (Resolved)
Ive got my code to extract the associated icons from the files and display them alongside the filename in my listview. the problem is that because the original icons are 32x32, im having to resize them to 16x16 using Stretchblt but the quality isnt as good as the 16x16 icons that Windows explorer shows. How do i resize the 32x32 icons to keep the quality as good as windows explorer?
Thanks
Last edited by Blobby; Jan 29th, 2003 at 07:07 PM.
There are 3 types of people in this world.........those that can count, and those that can't.
Blobby
-
Jan 29th, 2003, 06:15 PM
#2
Stuck in the 80s
If the file has it's own 16x16 icon, why not extract that instead?
-
Jan 29th, 2003, 06:30 PM
#3
Thread Starter
Frenzied Member
Is it possible that a file wont have a 16x16 icon???
There are 3 types of people in this world.........those that can count, and those that can't.
Blobby
-
Jan 29th, 2003, 06:31 PM
#4
Let me in ..
Re: Improving quality of Icons
Originally posted by Blobby
Ive got my code to extract the associated icons from the files and display them alongside the filename in my listview. the problem is that because the original icons are 32x32, im having to resize them to 16x16 using Stretchblt but the quality isnt as good as the 16x16 icons that Windows explorer shows. How do i resize the 32x32 icons to keep the quality as good as windows explorer?
Thanks
There is nothing much you can do, except try to find smaller neater icons.
-
Jan 29th, 2003, 06:31 PM
#5
Stuck in the 80s
Originally posted by Blobby
Is it possible that a file wont have a 16x16 icon???
Yes. But it's also possible that a file wont have a 32x32 icon.
-
Jan 29th, 2003, 06:37 PM
#6
Let me in ..
One thing you can do is, go to www.datadynamics.com and download there Activebar 2.0 control from there download section. This control comes up with a Great Icon capture tool. Using that you can capture any icon from anywhere and resize it. They are pretty neat even after resizing. You might wanna give it a try. Other than that, I can't think of anything for you.
-
Jan 29th, 2003, 07:07 PM
#7
Thread Starter
Frenzied Member
OK guys thanks for the responses. Im pretty much getting the hang of this VB malarky now, knowing whats possible, whats not, whats not worth bothering trying etc.
Ive managed to extract the 16x16 icons perfectly now but Im not sure whats going to happen if a file hasnt got an icon. I guess ill just get a blank space.
Anyway tahnsk for the imput i appreciate everyones help. Altho u may only take one answer in this forum, all other comments give a better understanding and all round view of the problem so all comments get equal marks.
Thanks
There are 3 types of people in this world.........those that can count, and those that can't.
Blobby
-
Jan 29th, 2003, 09:31 PM
#8
Let me in ..
It won;t show a blank if a file does not have a icon. It will show the default windows icon. that little window.
-
Jan 29th, 2003, 09:49 PM
#9
Thread Starter
Frenzied Member
Oh thats ok then, thates even better cos i wont have to cater for it.....isnt it time you went to bed?
There are 3 types of people in this world.........those that can count, and those that can't.
Blobby
-
Jan 29th, 2003, 09:52 PM
#10
Let me in ..
Originally posted by Blobby
Oh thats ok then, thates even better cos i wont have to cater for it.....isnt it time you went to bed?
MY GF ain;t home today so whats the point in going to bed.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|