Skip to main content
Aprking
Inspiring
July 17, 2023
Answered

Please help guide me on how to convert PNG to \u0089PNG\r\n.

  • July 17, 2023
  • 2 replies
  • 718 views

I often see others using ICON's icon files \u0089PNG\r\n, but I have always been unclear about how this format of text is converted from a PNG image. Now, I need to embed an icon in UI programming with JavaScript, so please help guide me on how to convert PNG to \u0089PNG\r\n.

This topic has been closed for replies.
Correct answer Peter Kahrel

It's described in this PDF:

https://creativepro.com/files/kahrel/indesign/scriptui.html

Starting on p. 115.

2 replies

Peter Kahrel
Community Expert
Peter KahrelCommunity ExpertCorrect answer
Community Expert
July 18, 2023

It's described in this PDF:

https://creativepro.com/files/kahrel/indesign/scriptui.html

Starting on p. 115.

Aprking
AprkingAuthor
Inspiring
July 18, 2023

Hi @Peter Kahrel  it worked! Thank you very much. It is thanks to helpful friends like you that this place has become such an amazing community. Thanks again!

BobLevine
Community Expert
Community Expert
July 17, 2023

What does this have to do with InDesign?

Aprking
AprkingAuthor
Inspiring
July 17, 2023

Sorry! I'm asking this question in this section because I'm working on a UI panel for InDesign and I need this functionality.
However, this question does not directly fall within the scope of InDesign knowledge, so I apologize once again!

BobLevine
Community Expert
Community Expert
July 17, 2023

Well then it is related, so quite specialized. I asked because I had no idea and would have moved it to a more appropriate area. Hopefully someone with more knowledge will be along to help you out.