The exported JPG images are abnormal
export.psd_file.to.jpg (428.6 KB)
abnormal.jpg (478.7 KB)
Question 1: The exported JPG images are abnormal; some files are missing and they do not match the images seen in Photoshop.
Question 2: The exported JPG images contain extra elements that are not present in the images seen in Photoshop.
Question 3: Exporting JPG files is extremely slow, while other files are fast
Hello, please help me check these issues.
This is how it normally appears in Photoshop.
99.jpg (938.0 KB)
I’m using Python.
python code file (11.5 KB)
PSD file
@hellokimi56
It seems you are experiencing issues with the exported JPG images from a PSD file, where some images are missing or contain extra elements not present in Photoshop. Here are a few steps you can take to troubleshoot and potentially resolve these issues:
-
Check the Export Settings: Ensure that you are using the correct export settings when converting the PSD to JPG. For instance, you can specify the quality and other options during the export process. Here’s a sample code snippet that demonstrates how to convert a PSD file to JPG using Aspose.PSD in Python:
from aspose.psd import Image
from aspose.psd.imageoptions import JpegOptions
# Load the PSD file
psd_image = Image.load("path/to/your/file.psd")
# Save as JPG with specified options
jpeg_options = JpegOptions()
jpeg_options.quality = 80 # Set the quality of the JPG
psd_image.save("path/to/save/converted_image.jpg", jpeg_options)
-
Layer Visibility: Check if all layers in the PSD file are visible before exporting. Hidden layers may not appear in the exported JPG, leading to discrepancies.
-
Flattening Layers: If your PSD contains multiple layers, consider flattening them before export. This can help in ensuring that all visible elements are included in the final JPG.
-
Image Size and Resolution: Ensure that the dimensions and resolution of the exported JPG match what you see in Photoshop. Sometimes, resizing during export can lead to unexpected results.
-
Update Aspose.PSD Library: Make sure you are using the latest version of the Aspose.PSD library, as updates may contain bug fixes and improvements related to image conversion.
If you continue to face issues, please provide more details about the specific settings you are using for the export, and any error messages you might be encountering. This will help in diagnosing the problem further.
Feel free to share the PSD file and the code you are using for a more in-depth analysis.
Sources:
[1]: ConvertPsdToJpg.cs
@hellokimi56
I can confirm issue.
We have opened the following new ticket(s) with high priority in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): PSDNET-2373,PSDPYTHON-160
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
Where should I see the latest progress on this issue? Thanks!
@hellokimi56 you will be notified by Forum when the issue will be fixed. We will try to fix it in Aspose.PSD 24.4 or 24.5 if there will be more priority task.