Many thanks Christian!

Il giorno 27/set/2013, alle ore 11:37, Christian Schmitz 
<[email protected]> ha scritto:

> 
> Am 27.09.2013 um 09:57 schrieb Sergio Tamborini <[email protected]>:
> 
>> Hello!
>> Is there a way to determinate automatically if the jpg that I open is in RGB 
>> or CMYK?
> 
> 
>  dim j as new JPEGImporterMBS
> 
>  j.File = SpecialFolder.Desktop.Child("cmyk.jpg")
> 
>  if j.InitJPEG then
> 
>    Select case j.ColorSpace
>    case j.ColorSpaceCMYK, j.ColorSpaceYCCK
>      MsgBox "CMYK"
>    case j.ColorSpaceRGB, j.ColorSpaceYCbCr
>      MsgBox "RGB"
>    case j.ColorSpaceGrayScale
>      MsgBox "Gray"
>    else
>      MsgBox "unknown? "+str(j.ColorSpace)
>    end Select
> 
>    j.FinishJPEG
>  end if
> 
> If you request a picture with ModePicture you can get one with latest 13.4 
> plugins even for CMYK.
> (but not color matched, just a preview)
> 
> Greetings
> Christian
> 
> -- 
> Read our blog about news on our plugins:
> 
> http://www.mbsplugins.de/
> 
> _______________________________________________
> Mbsplugins_monkeybreadsoftware.info mailing list
> [email protected]
> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info


------

Sergio Tamborini
Brescia
http://www.system-i.it


"C'è un equivoco di fondo. Si dice che il politico che ha avuto frequentazioni 
mafiose, se non viene giudicato colpevole dalla magistratura, è un uomo onesto. 
No! La magistratura può fare solo accertamenti di carattere giudiziale. Le 
istituzioni hanno il dovere di estromettere gli uomini politici vicini alla 
mafia, per essere oneste e apparire tali"

"There is a basic misunderstanding. It is said that political mafia has had 
acquaintances, if not found guilty by the courts, is an honest man. No. The 
judiciary can only do the findings of a judicial nature. Institutions have a 
duty to oust politicians close to the mafia, to be honest, these look "

Paolo Borsellino


_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to