Skip to main content
Participant
April 21, 2021
Answered

Export Indesign to JPG generates yellow horizontal lines in image

  • April 21, 2021
  • 31 replies
  • 19361 views

What happens? Al of a sudden I get yellow lines in all my image exports (PNG / JPG)... When giving it more pixels/inch the lines change position and are less wide.

 

This topic has been closed for replies.
Correct answer Srishti Bali

Hi all,


Sorry about the trouble this issue has caused. We've fixed this in the latest release. Please update InDesign to v16.2.1 to get this fixed.
Here's a link with more details: https://indesign.uservoice.com/forums/601180/suggestions/43234287


Regards,
Srishti

31 replies

rob day
Community Expert
Community Expert
April 30, 2021

Hi Uwe, given the general problems with the CC2021 releases, I think your idea of targeting PS2020 first and falling back to any other version if it exists is a good idea, so I added the conditional specifier.

 

While I was doing that it occured to me to check the CC2021 CM bug and run the script with Color Settings set to Emulate InDesign 2.0 CM Off, and of course that broke the color management part of the script. Handling CM Off is tricky, so let me know if you run into any problems. The updated script is at the same address. Thanks!

 

https://shared-assets.adobe.com/link/ca875a61-546a-416e-6475-ab3f3c29c717

 

Community Expert
April 30, 2021

"So if I target CC2020, would Bridgetalk open CC2021 if it is the only version available?"

 

Good question, Rob. Don't think so.

One could test something like with e.g. target = "photoshop-160.064" which addresses a potential PhotoShop 2022.

Simply doing target = "photoshop" means always the latest installed version; whatever this is.

Could even be PhotoShop 2020 if you installed it after 2021.

 

Regards,
Uwe Laubender

( ACP )

rob day
Community Expert
Community Expert
April 30, 2021

Simply doing target = "photoshop" means always the latest installed version; whatever this is.

Could even be PhotoShop 2020 if you installed it after 2021.

 

The documentation makes it seem like the first fallback would be to the companion (peer?) of the InDesign version running the script—if you are running CC2019 the target would be Photoshop CC2019. The next fallback would be the highest version number available:

 

 

If a specifier does not supply specific version and locale information, the framework tries to find the most appropriate available installation. It tries to match to available applications in this order:

  1. Peer applications (from the same suite)
  2. Applications with the highest available version number
  3. Applications that are currently running
  4. Applications that match the current locale
  5. Applications for any locale

 

 

Community Expert
April 30, 2021

Hi Rob,

with my misbehaving PhotoShop and no PhotoShop running at all:

 

I start your script from InDesign's Scripts panel.

Set some values for the export.

Hit OK. The GUI is closed.

Then "nothing" happens.

 

Ok. That's not an accurate description.

 

What happens:

A PDF is exported from InDesign to a subfolder of my Temp folder with a "time stamp", a 13-digit number in its name as expected:

C:\Users\USERNAME\AppData\Local\Temp\JPEGexport-1619784579951\

PhotoShop 2021 starts up.

That's it.

 

Nothing will be processed because of my issues with PhotoShop 2021.

No error message from BridgeTalk or PhotoShop.

 

FWIW: The issue with my PhotoShop 2021:

It becomes totally unresponsive directly after startup.

I cannot use any menu command, no keyboard shortcut is working.

( But this is no debate for this discussion here. )

 

Regards,
Uwe Laubender

( ACP )

rob day
Community Expert
Community Expert
April 30, 2021

So maybe targeting the latest "stable" version and falling back to any "photoshop would be better? Something like this:

 

 

 

    var phtshp = BridgeTalk.getSpecifier( "photoshop-140.064");
    if( !phtshp ) {
        phtshp = "photoshop"
    }
    bt.target = phtshp

 

 

Community Expert
April 30, 2021

Hi Rob,

thank you for the script ExportJPEG.jsx !

Fortunatelly your ExtendScript code is exposed for editing, because I have some trouble with my installed PhotoShop 2021 to the effect that I cannot run it with my current configuration on Windows 10. Had no time to troubleshoot the issue so far.

 

Because PhotoShop 2021 was installed after all my other versions of PhotoShop available on my machine ExtendScript code target = "photoshop" will always call the latest version installed if no other version is currently running.

 

To solve the issue and to use InDesign 2021 in tandem with e.g. PhotoShop 2020 or an even older version that is installed, one could edit the code and address a specific version of PhotoShop.

 

In line 311 of the code I changed:

 

bt.target = "photoshop";

 

to:

 

bt.target = "photoshop-140.064";

 

which addresses PhotoShop 2020.

 

Did some tests.

No issues so far.

 

Thanks,
Uwe Laubender

( ACP )

rob day
Community Expert
Community Expert
April 30, 2021

Hi Uwe,

Thanks. Does the script with no version number fail when you run it from the ID script panel? I don’t include version or locale info in the string because I want the latest available version of Photshop to launch. My understanding from reading the Bridgetalk API is using bt.target = "photoshop" with no specifier will launch the highest available version, but it sounds like that is not working for you?

 

https://extendscript.docsforadobe.dev/interapplication-communication/application-and-namespace-specifiers.html#application-specifiers

rob day
Community Expert
Community Expert
April 30, 2021

There have always been quality issues when exporting pages with placed images to JPEG. Even when the new yellow line problem gets fixed, you might try the JavaScript I posted above, which creates the JPEG via a PDF export—the PDF to Photoshop export handles placed images correctly.

diegomoroder
Participant
April 30, 2021

I'm having the same issue. Windows 10

Community Expert
April 28, 2021

Here is the bug report of the OP:

 

Export to JPG generates yellow horizontal lines
Interactivez, April 21, 2021

https://indesign.uservoice.com/forums/601180-adobe-indesign-bugs/suggestions/43234287-export-to-jpg-generates-yellow-horizontal-lines

 

Please vote for fixing this issue.

 

Thanks,
Uwe Laubender

( ACP )

BobLevine
Community Expert
Community Expert
April 28, 2021
While upvoting is good idea, it should be noted that the rollout of 16.2 has been paused because of this so it is being worked on.
Participant
April 28, 2021

Ciao! Anche io ho lo stesso problema!

Participant
April 27, 2021

Was this resolved? I have the same issue.

Participant
April 27, 2021

I had the same issue only when exporting to 72dpi. When I exported to 300dpi it removed the yellow lines. So, I reduced the linked image file (in my case it was a .psd file) in Photoshop and it resolved the yellow lines issue. My image was originally 6000px wide and I reduced it to 2000px (proportionate to height). In Photoshop, go to Image >> Image Size and customise your size. Hope this helps.

Participant
April 26, 2021

Same problem, but only when I export in 72 resolution. But it happens. The other most used resolutions (150 and 300) do not have this problem.