Image thumbnail control with codejock.. |
Post Reply |
Author | |
jigarmehtamscit
Groupie Joined: 29 October 2005 Location: India Status: Offline Points: 64 |
Post Options
Thanks(0)
Posted: 13 April 2006 at 2:03am |
Hi,
I want to implement an image thumbnail preview control in my application. Wanted to ask whether codejock has any such control ? If yes, my specific requirement is, I want to chnage the preview size of thumbnail at runtime. I will give a slider kind of control to change the preview size (just like Windows Vista Windows Explorer). So, is this possible with codejock library ? If yes, please let me know from which library version onwards this functionality has been given ? |
|
Regards,
Jigar Mehta |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
No, we have no thumbnail preview control
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Ark42
Senior Member Joined: 20 October 2003 Status: Offline Points: 291 |
Post Options
Thanks(0)
|
If you want a good, and simple library for loading images, I would recommend FreeImage - http://freeimage.sourceforge.net/ You can use it for free in commercial applications without having to open source your program or pay any royaltees. I use it for loading and displaying images as well as thumbnails (but I also contribute to FreeImage on occasion, so I may be biased). |
|
jigarmehtamscit
Groupie Joined: 29 October 2005 Location: India Status: Offline Points: 64 |
Post Options
Thanks(0)
|
Hi Ark42,
I want to ask, whether it will work with C# (VS 2005) or not.. !! I dont see this support for C#.. and will it enable me to resize the thumbnail of images at runtime ? |
|
Regards,
Jigar Mehta |
|
Ark42
Senior Member Joined: 20 October 2003 Status: Offline Points: 291 |
Post Options
Thanks(0)
|
Yes, I believe it works with C#/VB6/Delphi/etc as a DLL at least. I use it statically linked from C++ so I can't really help you with C# or VS2005 problems. There is a function FreeImage_Rescale() which can resize to any size you need quite easily. You might want to take this to the FreeImage forums though, since it's not really related to Codejock anymore. |
|
jigarmehtamscit
Groupie Joined: 29 October 2005 Location: India Status: Offline Points: 64 |
Post Options
Thanks(0)
|
Hi,
I know its not related to codejock but just want to ask you one thing. I had a look at the site of freeimage library. Its not a control that works like thumbnail control. So, please confirm, will I have to create that control on my own using freeimage ? |
|
Regards,
Jigar Mehta |
|
Ark42
Senior Member Joined: 20 October 2003 Status: Offline Points: 291 |
Post Options
Thanks(0)
|
Yes, FreeImage is not a control, it is not even Windows-specific - I use it under OS X and Linux as well. It is simply a very simple and easy to use library for loading and saving images in a large variety of formats with some other basic image transformation functions such as resizing.
|
|
jigarmehtamscit
Groupie Joined: 29 October 2005 Location: India Status: Offline Points: 64 |
Post Options
Thanks(0)
|
OK.. so, that will be not useful to me. I saw this is great library, i will surely use it in some of my other projects. Do anybody know any control which can do work for me ? like it shows thumbnail of the image and at runtime, it gives me functionality of resizing them ?
|
|
Regards,
Jigar Mehta |
|
Ark42
Senior Member Joined: 20 October 2003 Status: Offline Points: 291 |
Post Options
Thanks(0)
|
Just write your own. Such a control would not be a complicated thing to create. |
|
robosport
Groupie Joined: 20 June 2005 Location: United States Status: Offline Points: 62 |
Post Options
Thanks(0)
|
@Ark42: Thanks for this freeimage reference. I was looking for something with smaller mem footprint than GDI+ but with the same ease for supporting PNG and JPEG in and out. This is perfect. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |