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

InDesign: UXP 7.1.1 ImageBlob is undefined

Community Beginner ,
Jan 07, 2024 Jan 07, 2024

window.ImageBlob is a global Class as mentioned in this below document.
https://developer.adobe.com/indesign/uxp/reference/uxp-api/reference-js/Global%20Members/ImageBlob/

I just added this Class and Got undefined 

 

const imgBlob = new ImageBlob(img)

I am using react for UXP development.

TOPICS
UXP Scripting
319
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

correct answers 1 Correct answer

Adobe Employee , Jan 07, 2024 Jan 07, 2024

Note: `ImageBlob support is subject to enablement by HostApp. Currently supported by Photoshop.`

 

This is also mentioned in the documentation.

Translate
Adobe Employee ,
Jan 07, 2024 Jan 07, 2024

Note: `ImageBlob support is subject to enablement by HostApp. Currently supported by Photoshop.`

 

This is also mentioned in the documentation.

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 Beginner ,
Jan 07, 2024 Jan 07, 2024

Is there any option to compress images to view in Plugin?

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
Adobe Employee ,
Jan 08, 2024 Jan 08, 2024
LATEST

Currently there is no way in UXP to compress image, and Indesign too doesnt have any module

In Photoshop they have imaging module which can be used along with UXP's ImageBlob to get a thumbnail(
Link)


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