English
Source / code snippets

Bildmanipulation Objects Ocx Wia

 

Uwe
''Pascal''
Niemeier
Hi people!

be time again on one interessantes windows-intenes ActiveX-Objekt punched:
whom "Windows Image Acquisition automation Layer" (WIA).
so can apparently Scanner and interne Fotoverwaltung steer.
Inwieweit so Scanner/WebCams addressed go can, have I though not yet tested.
leaves itself but too to Bildmanipulation use.
the particular is, that too EXIF-data and Multipage-TIFF-Files supported werden; latter can prepares, zerlegt or einzene Pages therein aimed manipulating go.

this code listet The available filter and its Parameter on:
window 800,600
 $H windows.ph
 $H ocx3a.ph
 $I ocx3a.inc
ocxInit()
'
var ImageProcess&=ocxCreate("WIA.ImageProcess")
var FilterInfos&=ocxGet(ImageProcess&,"FilterInfos")
'
declare Filter&

whileloop 1,ocxGet(FilterInfos&,"Count")

    Filter&=ocxGet(FilterInfos&,"Item",&loop)
    print ocxGet(Filter&,"Name")
    print
    print ocxGet(Filter&,"Description")
    ocxRelease(Filter&)
    print
    print "<ENTER>"
    waitkey
    cls

endwhile

'
print "Fertig"
ocxRelease(FilterInfos&,ImageProcess&)
ocxDeInit()
waitkey

SeeYou
Pascal
 
11/16/11  
 




Jörg
Sellmeyer
the shining, at least XP, not standardmäßig present To his. by me comes a Message "Unbekannter Name" and then knallt it
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
11/16/11  
 




Uwe
''Pascal''
Niemeier
Hi Jörg!

I have too "nur" XP SP3.

loudly MSDN ought to SP1 reichen; though becomes a dll erwähnt ,The are missing should / could:  [...] 

helps the?

BTW: "Unbekannter Name" deutet hereon there, that the Objekt as solches present is, but not any modes or properties supported.
SeeYou
Pascal
 
11/16/11  
 




Jörg
Sellmeyer
Wow - shining Yes plenty to.
After the Download the File must one The in that system32-directory copy and then under "Ausführen" the following prompt:
regsvr32 wiaaut.dll
then functions it How expects.
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
11/16/11  
 



Zum Quelltext


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

9.841 Views

Untitledvor 0 min.
H.Brill11/24/23
p.specht11/21/21
R.Schneider11/20/21
Uwe Lang11/20/21
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie