getInfo in macro

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

getInfo in macro

Frank Sprenger
Hello,

I would like to retrieve the image type (8bit, 16 bit, RGB etc.) in a macro.

I am not familiar with Java, and for the moment do my "programming" using the built in macros.
But there is no function for getting the image type, or is there?

Thanks

Frank
Reply | Threaded
Open this post in threaded view
|

Re: getInfo in macro

Gluender-3
Frank,

why is it that I can find it?

The Macro Manual tells us

"bitDepth()
Returns the bit depth of the active image: 8, 16, 24 (RGB) or 32 (float)."

>Hello,
>
>I would like to retrieve the image type (8bit, 16 bit, RGB etc.) in a macro.
>
>I am not familiar with Java, and for the moment do my "programming"
>using the built in macros.
>But there is no function for getting the image type, or is there?
>
>Thanks
>
>Frank

HTH
--

                   Herbie

          ------------------------
          <http://www.gluender.de>
Reply | Threaded
Open this post in threaded view
|

Re: getInfo in macro

Frank Sprenger
Thanks,

I was stuck looking in the  get.... area.

Frank


On Feb 23, 2010, at 11:19 AM, Gluender wrote:

> Frank,
>
> why is it that I can find it?
>
> The Macro Manual tells us
>
> "bitDepth()
> Returns the bit depth of the active image: 8, 16, 24 (RGB) or 32 (float)."
>
>> Hello,
>>
>> I would like to retrieve the image type (8bit, 16 bit, RGB etc.) in a macro.
>>
>> I am not familiar with Java, and for the moment do my "programming" using the built in macros.
>> But there is no function for getting the image type, or is there?
>>
>> Thanks
>>
>> Frank
>
> HTH
> --
>
>                  Herbie
>
>         ------------------------
>         <http://www.gluender.de>