We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Exception while exporting PSD as JPEG. -- Failed to get TextColor

Getting below error while performing below Tasks on TextLayer

  1. load existing PSD
  2. Change the Text (replace) in one of the TextLayer
  3. Save PSD as JPG

Exception in thread “main” class com.aspose.psd.coreexceptions.imageformats.PsdImageException: Error parsing color component data
com.aspose.psd.internal.hS.ab.a(Unknown Source)
com.aspose.psd.internal.hS.ab.getTextColor(Unknown Source)
com.aspose.psd.fileformats.psd.layers.TextLayer.getTextColor(Unknown Source)
com.aspose.psd.fileformats.psd.layers.TextLayer.updateText(Unknown Source)


In order to investigate the issue further on my end, I request you to please share the source file and used sample code reproducing the issue on your end.

Thanks for your quick reply, the Upgraded the version to 21.5, and the issue got resolved.


Please share if any further help is needed in this regard.