Overview
This article provides the process to correct the image preview if it is wrongly cropped.
There might be cases where a preview generated from a JPEG file is wrongly cropped. See the example below.
Original image file looks like the below image:
Xinet generated preview looks cropped, as shown in the image below:
This is commonly caused because the original JPEG file contains a wrong clipping path.
Process
Please follow the below steps to determine if your picture has a clipping path and to resolve this issue.
-
On the server where Xinet is installed, please run the following command.
/usr/etc/appletalk/mkfpo -D -web <original_file_with_issue>
Replace<original_file_with_issue>
with the path to the JPEG file with preview issues.
For our example, we will use/xinetvoljul/uservolumejulio/test_picture.jpg
, so the command will end up looking like the following./usr/etc/appletalk/mkfpo -D -web /xinjuliovol/uservolumejulio/test_picture.jpg
- In the command output, look for the messages
PICT has clip
, andPICT has clippath
as shown in the image below.
- If you find the messages specified in step 2 in the command output, you will need to either remove the clipping path or adjust it to resolve the issue with the preview.
For more information on this topic, please check the Edit Clipping Masks article from Adobe.
Confirmation
Once you remove or adjust the clipping path, the image preview will be shown correctly.
Comments
0 comments
Please sign in to leave a comment.