Neredeyse, 3-4 aylık proje yaptığım dönemimde TR sitelerinden bir tane, adam akıllı .Net ile tarayıcıdan resim nasıl alınır,hangi bileşenler,hangi componentler kullanılır açıkca birşey göremedim şahsen.Bende Türkçe bir makale yazayım istedim.Visual Studio 2010 (2008 vs de olabilir) kullanarak scannerden resim nasıl alınır onu bir sonraki yazımda basit örneklerle göstermeye çalışacağım elimden geldiğince.Şuan genel bilgi amaçlı yazıyorum.
Tarayıcıdan resmi,sayfayı almak için TEMEL olarak 2 yöntem var.
Nedir bunlar ?
1. yöntem Wia (Windows Image Automation Layer)
2. yöntem ise TWAIN
Twain nedir ?
Wikinin dediğine göre,
"TWAIN is a standard software protocol and applications programming interface (API) that regulates communication between software applications and imaging devices such as scanners and digital cameras."
Yani,TWAIN standart yazılım protokolü olup, yazılım ve resim donanımları (tarayıcı,dijital kameralar gibi) arasında ilişki,bağlantı kuran API'lerdir.
Peki ,
WIA (Windows Image Automation Layer veya Windows Imaging Architecture) nedir ?
"Windows Image Acquisition (WIA; sometimes also called Windows Imaging Architecture) is a Microsoft driver model and application programming interface (API) for Microsoft Windows Me and later Windows operating systems that enables graphics software to communicate with imaging hardware such as scanners, digital cameras and Digital Video-equipment. It was first introduced in 2000 as part of Windows Me, and continues to be the standard imaging device and API model through successive Windows versions. It is implemented as an on-demand service in Windows XP and later Windows operating systems."