{"id":234,"date":"2016-04-25T12:19:45","date_gmt":"2016-04-25T10:19:45","guid":{"rendered":"https:\/\/www.moonsea.de\/?p=234"},"modified":"2017-10-01T20:10:44","modified_gmt":"2017-10-01T20:10:44","slug":"frage-c-einlesen-von-bilder-thumbnails","status":"publish","type":"post","link":"https:\/\/www.moonsea.de\/?p=234","title":{"rendered":"Frage: C# Einlesen von Bilder Thumbnails"},"content":{"rendered":"<p>Hintergrund:<br \/>\nich baue grade ein m\u00f6glichst DAU-kompatibles Programm um Bilder von der Kamera\/Speicherkarte auf die Festplatte zu transferieren.<!--more--><\/p>\n<p>z.Z. lese ich alle Bilder auf der Karte ein und erstelle dabei die Thumbnails die in einer ImageList dargestellt werden. Daf\u00fcr m\u00fcssen die Bilder aber komplett eingelesen werden.<br \/>\nDa auf der (langsamen) Karte, die auch noch recht langsam angebunden ist, einige Bilder drauf sind, w\u00e4re es sch\u00f6n wenn man die Thumbnail erstellen k\u00f6nnte ohne die Bilder komplett einlesen zu m\u00fcssen.<\/p>\n<p>Jemand ne Idee?<\/p>\n<p>Edit:<br \/>\nvielleicht schon was gefunden: <a href=\"https:\/\/msdn.microsoft.com\/de-de\/library\/system.drawing.image.getthumbnailimage%28v=vs.110%29.aspx\">LINK zu MS DevNetwork<br \/>\n<\/a>Zitat: &#8222;&#8230;<span id=\"mt241\" class=\"sentence\" style=\"color: #2a2a2a; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px;\" data-guid=\"12f7fdbdb43fe7651d297828527986fa\" data-source=\"If the &lt;span class=&quot;mtpsTagOuterHtml&quot; &gt;&lt;span&gt;Image&lt;\/span&gt;&lt;\/span&gt; contains an embedded thumbnail image, this method retrieves the embedded thumbnail and scales it to the requested size.\">Wenn die Image eine eingebettete Miniaturansicht enth\u00e4lt diese Methode ruft die eingebettete Miniaturansicht ab und skaliert sie auf die angeforderte Gr\u00f6\u00dfe.<\/span><span id=\"mt242\" class=\"sentence\" style=\"color: #2a2a2a; font-family: 'Segoe UI', 'Lucida Grande', Verdana, Arial, Helvetica, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 18px; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px;\" data-guid=\"4aa8f9bcdc060e2d7f9f93ad11cf815d\" data-source=\"If the &lt;span class=&quot;mtpsTagOuterHtml&quot; &gt;&lt;span&gt;Image&lt;\/span&gt;&lt;\/span&gt; does not contain an embedded thumbnail image, this method creates a thumbnail image by scaling the main image.\"><\/span>&#8230;&#8220;<\/p>\n<p>Edit 24.05.2016:<br \/>\nMusste leider feststellen, dass das Einlesen der Thumbnails nicht merklich schneller geht.Daher scheint das eher eine Sackgasse zu sein.<\/p>\n<p>Weitere Vorgehensweise:<br \/>\nEinlesen der Thumbnails im Hintergrund.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hintergrund: ich baue grade ein m\u00f6glichst DAU-kompatibles Programm um Bilder von der Kamera\/Speicherkarte auf die Festplatte zu transferieren.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"chat","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-234","post","type-post","status-publish","format-chat","hentry","category-programmierung","post_format-post-format-chat"],"_links":{"self":[{"href":"https:\/\/www.moonsea.de\/index.php?rest_route=\/wp\/v2\/posts\/234","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.moonsea.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.moonsea.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.moonsea.de\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.moonsea.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=234"}],"version-history":[{"count":1,"href":"https:\/\/www.moonsea.de\/index.php?rest_route=\/wp\/v2\/posts\/234\/revisions"}],"predecessor-version":[{"id":392,"href":"https:\/\/www.moonsea.de\/index.php?rest_route=\/wp\/v2\/posts\/234\/revisions\/392"}],"wp:attachment":[{"href":"https:\/\/www.moonsea.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=234"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.moonsea.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=234"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.moonsea.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=234"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}