locked
Image Load Vrs Image Draw? RRS feed

  • Question

  • Hello Everbody! I have a question,

    What is faster Image Load from file to ImageBox or

    Image Draw Using GDI+ from file.

    Because I have a listbox full of items, and every time a new item is selected

    my program draws an image, and some text, and I need to know which is faster

    THANKS A LOT!

    Saturday, September 1, 2007 1:24 AM

Answers

  • I think the question is moot. Any difference in performance is going to be obscured by the relatively long latency of head seeks for the file itself. Unanaged GDI and BITBLTs are the fastest and most dangerous. System.Draw is slower. But again those differences, with modern capable hardware are small compared to going to disk for the data.

    Saturday, September 1, 2007 2:06 AM