Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Label an image with its colour space

Explorer ,
Nov 01, 2022 Nov 01, 2022

I want to put labels on images in a document giving the Actual ppi, Effective ppi and colour space I've been able to do the ppi's but I can't get the colour space can anyone please help?

 

TOPICS
Scripting
360
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 01, 2022 Nov 01, 2022
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 02, 2022 Nov 02, 2022

Thanks for this but it's not a caption I want. I want to get the colour space of an image same as I can get the resolution of the image. I've seen the 'itemLink' which can give me the name but what would give me the colour space?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 02, 2022 Nov 02, 2022

I want to get the colour space of an image same as I can get the resolution of the image.

Can you provide an exemple? I don't understand what you mean. In your first post, you said: “I want to put labels on images”.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 02, 2022 Nov 02, 2022
If I have an image and do
var actppi = image.actualPpi
then actppi[0] gives me the actual ppi of the image
is there not the same thing that would give me the colour space of the image?
Like image.colorSpace or something like that?
Learn how to navigate TCFD reporting ? <>
Read our Section 172 research and recommendations ?<>
Get to grips with nature and biodiversity - read our new research report ?<>
[https://design-portfolio.co.uk/application/files/assets/biodiversity.jpg]<>

The Design Portfolio Marketing Services Limited. Registered Office 4th Floor, South Quay Building, 77 Marsh Wall, London E14 9SH. Incorporated in England and Wales under 3677122. Data protection reference security number: CSN4617482.

The information contained in this email and any files attached thereto is confidential and may be privileged; it is for the use of the named recipients only. If you have received it in error please inform the sender immediately and delete it from your computer system(s).

Information may be provided in this email exchange that may be stored by The Design Portfolio Marketing Services Limited on its secure management information system. Design Portfolio is committed to keeping information and data safe. You can view our privacy policy at design-portfolio.co.uk.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 02, 2022 Nov 02, 2022

Ok, I completely misunderstood your question.

Sorry, I can't help you, I don't know anything about scripting.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 02, 2022 Nov 02, 2022

Thanks for your help, I've found the answer just image.space

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 02, 2022 Nov 02, 2022

The information of the linkpanek is not enough?

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 02, 2022 Nov 02, 2022
LATEST

Hi @Alex25077296wbvx ,

did you look into DOM documentation for object image?

There are properties:

actualPpi
effectivePpi
space
profile

 

https://www.indesignjs.de/extendscriptAPI/indesign-latest/#Image.html

 

Regards,
Uwe Laubender
( Adobe Community Expert )

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines