This is a question about picking the right Delphi components.
Using Delphi for a new app.
I'm looking to allow my user to have a list of (his own, on harddisk) pictures (just jpg for now, but should support different formats in the future), import them into my app, and then display them to him in a TListView. I was planning to tie that TListView to a TImageList (since this comes out of the box)... but when I tried, I ran into a set of weird problems about importing jpg's into a TImageList, reported here:
So I'm wondering, am I using components for something they aren't intended for? Specifically, is the TImageList (even with some pre-formatting on import) useful for this kind of freestyle-all-sizes-and-formats-allowed stuff?
Any advice appreciated!
ImageList
which will support a lot of graphical formats. Important thing you definitely should implement in such a list is retrieving image with its original size, not the scaled copy as regularTImageList
does. It might looks difficult but there are (in Internet) enough information to implement enhancedImageList
, besides... it is fun! P.S. I totally agree with Kobik - displaying large pictures withinTListView
is not a good idea. – Josef Švejk