收录日期:2019/12/11 03:26:21 时间:2010-10-31 00:13:16 标签:javascript,actionscript-3,air,icc

I've written a lot of JavaScript before, and adobe air looks really interesting, my question is can Adobe Air:

  • Access ICC profiles stored on a users computer
  • Detect which ICC profile the monitor is currently using
  • Use the SDK for specialist USB hardware
  • Do all this one both Windows and Mac computers

Thanks for any information. If not, any workarounds, or other potential solutions?

I don't know the exact answer since I've never attempted to do any of it, but I'm pretty sure AIR doesn't have specialized tools for managing ICC Profiles. However I know Java does, so you could easily use NativeProcess to bridge and get the data. Same thing with the USB thing.

I'm naming Java because it comes to mind and is available in both win and mac, but you could eventually use any other native process for each OS.

http://www.adobe.com/devnet/flash/quickstart/color_correction_as3.html

This may provide further information on the subject, it talks about icc profiles and how swfs use them.

  • 1 Access ICC profiles stored on a users computer

    Not possible. Maybe you can check FluorineFX (windows only)

  • 2 Detect which ICC profile the monitor is currently using

    Not possible. Maybe you can check FluorineFX (windows only)

  • 3 Use the SDK for specialist USB hardware

    Do not really understand, but there is support for detecting usb devices and usb changes

  • 4 Do all this one both Windows and Mac computers

    point 3 must run on both windows and mac

Access ICC profiles stored on a users computer

http://www.apponic.com/free-downloads-259/adobe-icc-profiles-cs4/

I would say NO rather than redirecting you to some third party and then scratching up your head.

Detect which ICC profile the monitor is currently using

NO

Use the SDK for specialist USB hardware

Yes, but not fully supported. You need to go to native bridge support for certain things.

Do all this one both Windows and Mac computers

It should.