Jump to content
You must now use your email address to sign in [click for more info] ×

JPEG with RGB/sRGB gets loaded as R8/Grayscale


affuso

Recommended Posts

Try to open the attached image in Affinity Photo. You'll get a mostly transparent image with a few gray-ish pixels. This is in affinity 1.9.0.932. Doesn't happen in any other application. ImageMagick identifies it as: "JPEG 64x64 64x64+0+0 8-bit sRGB 31529B 0.000u 0:00.006" so I'm confused why Affinity would consider it gray-scale.

cropped.jpg

Screenshot 2021-02-12 101959.png

Link to comment
Share on other sites

Welcome to the Affinity forums @affuso!

Whenever you upload an image it will be processed by the forum software. That said, your image loads fine, because it was changed. Try to zip the image and upload again.

------
Windows 10 | i5-8500 CPU | Intel UHD 630 Graphics | 32 GB RAM | Latest Retail and Beta versions of complete Affinity range installed

Link to comment
Share on other sites

I haven't put a cropping path in there myself (can a JPEG even store a cropping path?) If that's the cause then I'm all set, I simply haven't seen a cropping path _in a JPEG_ before. Can you shed some light how I can get a cropping path in a JPEG?

Link to comment
Share on other sites

5 minutes ago, affuso said:

can a JPEG even store a cropping path

Something new to me too. But maybe Adobe PS CC2019 can do, which seems to be creator software? I am not a file format expert, so maybe others have an explanation?

------
Windows 10 | i5-8500 CPU | Intel UHD 630 Graphics | 32 GB RAM | Latest Retail and Beta versions of complete Affinity range installed

Link to comment
Share on other sites

  • Staff

Hi @affuso,
Welcome to Affinity Forums :)
The clipping-path was in the JPG. To use clipping paths in Affinity apps and export as JPG's do the following:

  1. open the image you want 
  2. create the clipping path with the Pen Tool as usual or other vector tools/shapes. Make sure it's then filled with a color - any color will do
  3. drag the path layer over the thumbnail of the image layer in the Layers panel (you should see a small vertical blue line appear on the right of the image thumbnail when you drag the path layer over the thumbnail of the image layer - drop it at that point. You have nested the path to the image layer.
  4. double-click on the path layer to give it a name - fill in the name you want (you need to do this so you can later select this path in InDesign/Photoshop)
  5. go to File Export select JPG, set the options you want as usual, then click the More button and tick Convert clips to paths. Export the file.

You will find the clipping path(s) in the Paths panel if you open the JPG in Adobe Photoshop. Conversely JPG's with clipping paths saved in Photoshop will open as vector masks nested to the image layer in Affinity Designer/Photo.

Link to comment
Share on other sites

Ah ok, that makes sense, thanks! The thing that tripped me up though is that in the original image I was dealing with (which I can't share) the clipping path cut out a black/white area, and then Affinity converted the whole image to grayscale, so removing the clipping path didn't quite work as expected. Thanks everyone, I think this can be closed!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.