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

Label an image with its colour space

New Here ,
Nov 01, 2022 Nov 01, 2022

Copy link to clipboard

Copied

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

Views

78

Likes

Translate

Translate

Report

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

Copy link to clipboard

Copied

Likes

Translate

Translate

Report

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
New Here ,
Nov 02, 2022 Nov 02, 2022

Copy link to clipboard

Copied

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?

Likes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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”.

Likes

Translate

Translate

Report

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
New Here ,
Nov 02, 2022 Nov 02, 2022

Copy link to clipboard

Copied

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.

Likes

Translate

Translate

Report

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

Copy link to clipboard

Copied

Ok, I completely misunderstood your question.

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

Likes

Translate

Translate

Report

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
New Here ,
Nov 02, 2022 Nov 02, 2022

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

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

Copy link to clipboard

Copied

The information of the linkpanek is not enough?

 

Likes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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 )

Likes

Translate

Translate

Report

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