Captesq Posted January 4, 2023 Share Posted January 4, 2023 I'm trying to open an EPS file in Affinity Photo 2 (Also tried Designer 2). I keep getting a blank page and a box saying my color profile has been replace to SWOP from an unspecified one. The original file was created by a friend in ADOBE Indesign, I think. It may have been one of the other ADOBE suite programs. Is there a way to set new options that would allow me to figure out what it should have been. Quote Link to comment Share on other sites More sharing options...
thomaso Posted January 4, 2023 Share Posted January 4, 2023 I doubt the colour message is related to the blank page appearance / missing content. As far I remember .EPS and .PS did not contain profiles though they may contain colour definitions in different spaces (RGB & CMYK). If it opens in Affinity with 1 blank layer then it's possibly a former AI document saved as .eps and thus may not make the content available to Affinity. You could open the .EPS with a code / text editor to read its header information which usually mentions the creating app … or an app like Exiftool to read its metadata. debraspicher 1 Quote macOS 10.14.6 | MacBookPro Retina 15" | Eizo 27" | Affinity V1 Link to comment Share on other sites More sharing options...
debraspicher Posted January 4, 2023 Share Posted January 4, 2023 59 minutes ago, Captesq said: I'm trying to open an EPS file in Affinity Photo 2 (Also tried Designer 2). I keep getting a blank page and a box saying my color profile has been replace to SWOP from an unspecified one. The original file was created by a friend in ADOBE Indesign, I think. It may have been one of the other ADOBE suite programs. Is there a way to set new options that would allow me to figure out what it should have been. It's possible to "assign" a color/ICC profile without converting any color information either via Document Setup and in Photo, there's the Assign/Convert options in the Document Menu. You'd have to get the original color space information from the other person. If they don't know anything about a profile, it's probably the default depending on whether the color space was RGB/CMYK, then those programs have default ICC profiles that come selected by default. SWOP is the default CMYK profile (for print), iirc, so it may already be correct. (Edit) As @thomaso said, it sounds like it just did not contain a profile at all. Quote Link to comment Share on other sites More sharing options...
v_kyr Posted January 4, 2023 Share Posted January 4, 2023 EPS (Encapsulated PostScript) files do not have 'a colorspace' via embedded ICC profiles per se, they contain instead marking operations which take place in any of a number of different colour spaces. Because PostScript is a programming language, there is no way to know for certain which colour space(s) are used without interpreting the entire program. One can use the fact that PostScript is a programming language by redefining some basic operations, and using that to get the information one wants. For example, to find the colour being used for a stroke one might do ... /OriginalStroke /stroke load def /stroke { (Current colour space = ) print currentcolorspace == flush (current colour = ) print mark currentcolor counttomark -1 1 { -1 roll 20 string cvs print ( ) print} for flush pop OriginalStroke } bind def Of course one will need to be prepared to cope with the rich variety of possible colour spaces in PostScript; aka Gray, RGB, CMYK, Separation, DeviceN, CIEBasedA, CIEBasedABC, CIEBasedDEF, CIEBasedDEFG, Indexed and Pattern. There are ways with GhostScript (a postscript interpreter) to hook any of the PostScript marking operations and detect the colour space in force at the time (for images one will have to inspect the dictionary, since they carry the colour space with the arguments). However, it might be overall easier for you instead to ask your friend to export that from Adobe Indesign as PDF/SVG for a reuse in ADe/APh! Quote ☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan ☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2 Link to comment Share on other sites More sharing options...
Recommended Posts
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.