jpursley Posted September 27, 2005 Share Posted September 27, 2005 I'm having trouble creating a portfolio here on photo.net. My original files consist of ~200 TIF files on my home machine, a portion of which I'd like to post here. I've written a small utility that uses Photoshop CS scripting to process all images in a folder: each image is resized, sharpened, watermarked and saved in JPEG format. I plan to use these JPEGs later to later create my own web site. <br><br> Attempting to upload these images to photo.net, though, results in the following message from http://www.photo.net/photodb/photo-add- 2.tcl: <i>Problem with your input...File contains xml-encoded preview data...</i> <br><br> As described at <a href="http://www.photo.net/ps7- problems.html">Problems with Photoshop 7 JPEG Images</a>, the photo.net software rejects images that have a preview embedded in them. The suggested workaround is to use Save For the Web, but that appears to be inaccessable via the script engine. <br><br> Photoshop is set to never save image previews, both via the UI and via my script. I also have EmbedColorProfile set to False, if that matters. <br><br> At <a href="http://www.photo.net/bboard/q-and-a-fetch-msg? msg_id=008Xt1">http://www.photo.net/bboard/q-and-a-fetch-msg? msg_id=008Xt1</a>, Brian Mottershead hints that <i>There are other ways in PS 7 to eliminate the profile information, but none of them are as straight-forward as "Save for Web..." </i>. Any information about tweaking PS CS itself or accessing Save for the Web from the script engine would be much appreciated.<div></div> Link to comment Share on other sites More sharing options...
mottershead Posted September 28, 2005 Share Posted September 28, 2005 When I wrote that I had configured my copy of Photoshop 7 to save files without the embedded profile information during a regular Save... operation. Unfortunately, I no longer remember the details. Perhaps someone can enlighten us. Link to comment Share on other sites More sharing options...
pawel_czapiewski1 Posted September 28, 2005 Share Posted September 28, 2005 When you click Save As dialog gives you an option of embedding a profile or not. (format related). Link to comment Share on other sites More sharing options...
jpursley Posted September 28, 2005 Author Share Posted September 28, 2005 Well I was not able to figure out how to disable this 'feature' in Photoshop. Not embedding the profile resulted in the same problem. <br><br> Incorporating <a href="http://www.sentex.net/~mwandel/jhead/">jhead</a> into my workflow, however, enabled me to programmatically strip <a>all</a> non-image information from the Photoshop JPEGs. This not only resolved the header problem, but also made for significantly smaller JPEG files. <br><br> Hopefully others may find this of use... Link to comment Share on other sites More sharing options...
yann_r. Posted September 30, 2005 Share Posted September 30, 2005 Hmm... I just try to create a script and "Save for web..." is accessing.<br> It seems to work.<p> I try something... If it works, you should see my post.<br> I try to join an exemple with this little script applied on a TIFF file : just "save as Web..." with a size change into 100x100 pixels... Let's go ! Link to comment Share on other sites More sharing options...
yann_r. Posted September 30, 2005 Share Posted September 30, 2005 It works... No "<i>Problem with your input... File contains xml...</i>" error message. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now