Error 8800 save as jpg

Hi everybody!
I'm getting Error 8800 when saving certain PSDs out as a JPG. The error says Error 8800. General Photoshop error occured <No additional information available>
Line:18
-> {activeDocument.saveAs(jpgFile, jpgSaveOptions, true, Extension.LOWERCASE);
But, like I say, it works fine for some PSD files and not for others. I'm just not sure why though - it's not like i've included path infomation or an extra channel or something.
Here's the code
<code>
// LAZY SAVE AS JPG
var srcDoc = app.activeDocument;
docName = app.activeDocument.name.substring(0,app.activeDocument.name.length -4)
filePath = srcDoc.path + '/' + docName + '.jpg';
var jpgFile = new File(filePath);
jpgSaveOptions = new JPEGSaveOptions();
jpgSaveOptions.formatOptions = FormatOptions.OPTIMIZEDBASELINE;
jpgSaveOptions.embedColorProfile = true;
jpgSaveOptions.matte = MatteType.NONE;
jpgSaveOptions.quality = 12;
try
{activeDocument.saveAs(jpgFile, jpgSaveOptions, true, Extension.LOWERCASE);
catch(e)
alert(e)
</code>

I'm still here; like a bad penny I always turn up
I've not encountered the problem again, although I did put in some cautionary lines of code just to get around it - like forcing a flatten - duplicating the image into a new document and saving that out. As well as a try / catch save.
Incidentally the limit of 300 chars does cause a 8800 error. I was able to save out C:\temp\a b c d e f g h i j k l m n o p q r s t u v w x y z 0 1 2 3\a b c d e f g h i j k l m n o p q r s t u v w x y z 0 1 2 3\a b c d e f g h i j k l m n o p q r s t u v w x y z 0 1 2 3\a b c d e f g h i j k l m n o p q.jpg
but add three more letters to the filename and it's kick up an error!

Similar Messages

  • "activeDocument.saveAs" does not work! -- Error 8800 | PS CS5 | Mac OSX 10.5.8

    Error 8800: General Photoshop error occurred. This functionality may not be available in this version of Photoshop.
    I even tried to copy the Script from the scripting Guide.
    jpgFile = new File( "/Temp001.jpeg" )
    jpgSaveOptions = new JPEGSaveOptions()
    jpgSaveOptions.embedColorProfile = true
    jpgSaveOptions.formatOptions = FormatOptions.STANDARDBASELINE
    jpgSaveOptions.matte = MatteType.NONE
    jpgSaveOptions.quality = 1
    app.activeDocument.saveAs(jpgFile, jpgSaveOptions, true,
    Extension.LOWERCASE)
    Everything else in my Scripts work :-/
    Any Tipps?

    The reason the original script did not work is new File( "/Temp001.jpeg" ) is not a valid file path. The path must be the full URL not a releative one.
    The reason the second script saves to the folder where Photoshop is installed is because path is a reserved word in Photoshop. Even is you assign something else to path like var path = app.activeDocument.path, it will still point to the app path. name is another reserved word. It will always return 'Adove Photoshop'.
    Better to do something like this.
    var docPath = app.activeDocument.path;
    var jpgFile = new File( docPath + "/Temp001.jpeg" );

  • "Could not save x.jpg because the file is already in use or was left open...

    Win 7 pro 64, CS5.0 using InDesign 7.0.4 and Photoshop 12.0.4 x64.
    Using InDesign to create a manuscript with images. Right click on image to "Edit Original"
    Opens image in Photoshop. Make changes, go to save.
    Error message "Could not save x.jpg because the file is already in use or was left open by another application"
    Using a free utility called Unlocker Assistant, it shows that the file has been locked by InDesign
    The workaround is to then use Unlocker Assistant to unlock the image in in the Links folder, but this is a pain and it is happening too frequently.
    Putting in that error message I get no google matches.
    Anyone know why Indesign is locking the image, when it is the InDesign program that is supposed to be sending it to Photoshop for editing so it can be changed and then overwrite the original image?
    Note that it is not consistent but I cannot find any pattern to determine why it sometimes fails and other times allows the altered image to be saved.

    You will get a quicker response to post this in the InDesign Fourm http://forums.adobe.com/community/indesign/indesign_general

  • When i save any image from any website then there is no option showing in the save as box like saves as .jpg etc. In this case I manually add the extension of image for example .jpg .gif etc. Please solve my problem :(

    When i save any image from any website then there is no option showing in the save as box like saves as .jpg etc. In this case I manually add the extension of image for example .jpg .gif etc. Please solve my problem :(

    I'm guessing your problem is caused by code validation errors: orphaned division tags for example, or mismatched code and document type (i.e.  XHTML /> mixed with HTML > style closures).
    Start by using the code validation tools below and fix any reported.  You'll need an Internet connection for this:
    HTML Validator - http://validator.w3.org 
    CSS Validator - http://jigsaw.w3.org/css-validator/  
    HTML & CSS Tutorials - http://w3schools.com/
    If this doesn't solve the problem, you will need to post a URL to your live page so we can see your code and images working together.   Or at the very least copy and paste your HTML and CSS code into a reply using double arrows >> Syntax Highlighting > Plain.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Script to open eps and save to jpg

    Hi,
    I would need a script to open an eps or ai file at 100dpi, rgb, with the longest side of 500 px.
    It would save the jpg at amximum quality with the same name  +  .jpg
    then close the eps file without saving it.
    I wanted tyo create an action for this but I cant figure how to create the jpg file with it's longest side to 500 pixels.
    Jean

    When you record your action use Fit Image to resize the document. Enter 500 in both width and height, that way the longest side will be 500. Fit Image will keep the image ratio.

  • When I try to export the file in word, I get the error "The Save as command has not been able to develop this document. Unable to create file"

    When I try to export the file in word, I get the error "The Save as command has not been able to develop this document. Unable to create file".
    Win7 Pro, 64bit
    Acrobat XI Pro, tryal

    Create a one word pdf file. Try converting to word. If that fails, try a complete uninstall, run the cleaner tool, then re-install.
    Download Adobe Reader and Acrobat Cleaner Tool - Adobe Labs

  • The obsolete 'copy' in save as .jpg

    I supported Pshop for Adobe when 4 came out (1997) and STILL I have to delete the automatic insertion of 'copy' into the filename when I save a layered .psd as a .jpg. There is NO reason for this piece of code anymore. As I understand it, there was some weird concern that, since layers were new, people wouldn't realize that saving as a .jpg wouldn't preserve them and they would also have to save the .psd as well - which you are warned about anyway on close.
    Can ANYONE tell me why this piece of code is still there? Can ANYONE concoct a reason I have had to delete 'copy' on save as .jpg for FIFTEEN years now? Just for my sanity - make something up that sounds good. PLEASE!

    Geolaf wrote:
    Sorry - been using shift+control S forever - doesn't offer the option to NOT save as a cop
    I really don't think my workflow is at all unusual. I would just like it to save the jpeg as a flattened jpg (since all jpgs ARE flat) and leave the psd open - just as it does - and prompt me to save the psd as it does. But I would be happy if there WAS a keycombo that made that happen.
    Nevertheless - I guess this is the definitive 'thinking' behind the code - even though it doesn't offer a choice (which is where I think the flaw is - since the only thing that happens to the workflow is that I have to remove - or leave - copy in the filename.)
    It's not as if it's preventing anything. They could have put in a dialog that says: "Saving in another format with layers will leave the author file in psd format and save a copy so that you can maintain your layers." with a checkbox that says: Don't show me this again.
    May be good ideas, but I can assure you that they are not going to make any code changes for CS3 and your problem doesn't exist in the latest versions.

  • Save for Web or Save As Jpg for website

    Saving photographs for my website. Files are big, 1140 pxls high (width varies with cropping/landscape or portrait). Because of the large size of the photographs on screen, I need a good quality file - minimal artifacting.
    Is Save for Web (Tiff or PSD to Jpg) going to give me a smaller file size than Save As Jpg at a similar quality (compression) setting?
    Website is Flash, so I'll strip the metadata, but in situations where I want to keep metadata embedded (ie on blogs), is Save for Web still going to give me a smaller but still high quality file?
    Can anyone explain what Save for Web does differently to Save As - when dealing with Tiff/PSD to JPG?
    Thanks!
    Mac, CS5.5

    I'm not discounting the ability to inspect images in greater detail. I'm just noting that it is inefficient as a designer/publisher to push more data than what the average user needs. That is not how the internet works now or in the future.  You did not download the entire Adobe forums for offline reading. You open only the forum pages/discussions that interest you. We invite data to us. We don't have it slammed at us. I would not doubt that your pinch zoom example could be addressed with a javascript event to load a higher resolution graphic between the moment the image is first touched and the point when you zoom.
    There is no such thing as unlimited storage and bandwidth. Check your hosting plan for the fine print. BizLand/Endurance hosting will most certainly yank your site offline if it starts to take an unreasonable share of system resources from other sites shared on the same server.  I've seen this happen often, especially with Endurance hosting. I'll never use them again.
    You may be able to get away with bloated graphics on your own site, which ranks 2,310,866 on alexa.com. But a site like adobe.com (ranking at 65) is going to be much more concerned about image sizes. If you host an image at 300kb that could have been 100kb, you waste 2MB among the handful of people that visit your site in a day. At Adobe's scale, they will have wasted multiple gigabytes of bandwidth.
    Bear in mind that you are limited to a certain number of concurrent HTTP connections. This has not changed with the advent of faster networks. While a connection is held up to load a larger graphic, another HTML, JS, CSS or image file has to wait in line to load. Peek into the source graphics used in this page. Jive makes heavy use of css sprites to lessen the dependence on multiple connections.
    You will never get away from designing for economy. That is why we use JPG images instead of BMP images.

  • How to save a JPG in 256 colors?

    I'm using Photoshop CS2.
    1. How to save a JPG in 256 colors?
    2. Is there a way to see an image properties?
    -- I want to know if that image is in 256 color or not...

    Mary Jo, since you are a newcomer, you may not yet understand that in any given Adobe forum, there are a whole bunch of conversations going on at the same time. Each one of these is about a certain "topic", described in the title and opening post. The discussion sometimes stays right on point, and sometimes veers off a bit, and there are often quick side-issues branching off from the main topic, but still related. Within limits, people here try to keep the discussion on a single general topic. For example, in this topic, the initial issue is whether there is a way, in Photoshop, to limit the number of colors in a JPEG image to 256; there were discussions about whether this could be done or not, and alternative programs that may be able to accomplish this, and a comparison of the file sizes for 256 bit images in different file types.
    Your question, however, is not a logical outgrowth of the discussion. It's a perfectly good question, but it deserves its own new discussion topic. It's like a bunch of people have been sitting around a table discussing the merits of Canon vs. Nikon SLRs, and someone sits down at the table and, instead of joining the conversation, asks a completely unrelated question about point-and-shoot cameras, or camcorders.
    It's off-topic here, and you should start a new topic. Make the title descriptive, such as "Why does a 8 megapixel image result in a 3 megabyte file on my computer?" (assuming that's what you want to ask -- just "M" doesn't tell me whether you are talking about MP or MB). In the initial post, provide a more detailed description of what you want to know. Tell us what camera and Photoshop version you are using, and how you encountered the issue. People will see that a new topic raises an issue they know something about and you will get a response -- probably a good answer, if you keep in the conversation.
    [Edit: Trez hit "post" before I did. Trez-- I think she is using Photoshop, not Elements; she did say CS2.]

  • Save for Web only let me save as jpg!

    For some reason, I got a file that's only let me do Save for Web in jpg format. I choose png24, click save and it changes to jpg in the save dialog. Then I created a blank doc, copy everything from the problem file over to the new file and I can Save for Web in png just fine.
    What's going on?

    In the save for web (SFW) dialog box you can see there are more than one slices. All the linked slices (grayed out) are set to save as JPG. Including slice 1. Therefore, the JPG extension mystery. If you drop down under "slices" after clicking the blue save button, and select "selected slices," you'll get a gif (if slice 3 is selected). Or change slice 1 to a gif in the SFW dialog box.
    J

  • Save as JPG problem?

    Hi,
    I have recently been bugged by a problem when saving as JPG. I go through my usual workflow, convert my file to 8bits sRGB, then "save as", select JPG from the drop down, goto my folder and click save. I get the quality dialogue, select 12, hit save... but PS CC saves a PSD file. A PSD file that cannot be opened in PS, or any thing else? Now sometimes I try all this again, select JPG hit save and get a message "xxx.PSD already exists overwrite?".... I SELECTED JPG!
    Sometimes it saves a JPG....
    I ran the latest update, maybe 3 days ago so CC is up to date.
    Please help?

    I do not chose the PSD extension, I chose JPG from the "save as" drop down box and do not add any extension to the name. I have done this for at least 6 years without problem.
    I confess I have not tried to rename, if it happens again I will try to rename it. Thanks for the suggestion.
    Just annoying that it happens and I would love to know why.

  • How do I save a jpg that I have in photoshop elements as a high-res or vector format.

    how do I save a jpg that I have in photoshop elements as a high-res or vector format.
    thanks

    Welcome to the forum.
    I wonder, however, if you meant to post to the Photoshop Elements Forum, and not to the Premiere Elements (Video editing program) Forum?
    If you want PSE, then see the above link.
    To Save_As uncompressed, you might want to look at PNG for the format.
    Good luck,
    Hunt

  • Problem with save as .jpg once edited in LR5 and sent to PSE11 to save as a .jpg

    Several days ago I bought Lightroom 5 as I have recently started taking pictures in RAW.  I love the process and how it works, pictures look wonderful.  I use Blurb (BookSmart) to create a yearly book which I am in and out of all year long.  When I edit a RAW picture in PSE 11 and save as a .JPG I can export my picture to Blurb.  When I edit my picture in LR5 and send to PSE11 to save as a .jpg I can not export my picture into Blurb.  Does anyone have a reason,? 

    Sorry - I am learning
    - In Lightroom after I have completed my development of the picture I
    1.  Right click on the picture and select "Edit in"  I select Edit in Adobe Photoshop Elements Editor  I then select in "edit a copy with Lightroom adjustments"
    2.  The picture will eventually open in PSE as a PSD
    3.  If I am making more adjustments such as the "spot healing" which I like better in PSE  -  I select the spot healing brush - I select the area needing fixing - click on the spot and make the correction
    4.  Once I have finished with any edits I might make in PSE I select "File" - Save As  and select Save As .jpg
    5.  The file at this point has been saved as a .jpg
    6.  In BookSmart (Blurb) I click on their icon for get photos
    7.  I select the file and the photo I want
    8. I select open
    9.  At this point nothing happens - in normal circumstances once I have selected Open - the picture will upload into Blurb (I would normally see the picture upload).
    If I do not use Lightroom and open the CRS file in PSE instead
    1.  I open the file with file open select photo which opens picture in PSE
    2.  Photo will open in the RAW editing program within PSE
    3.  I will make any adjustments I want to make
    4   I will select "open Image" in the Raw plug in
    5.  The picture will open within the PSE editor
    6.  I will again make any adjustment I might want to make within PSE editor such as the spot healing
    7.  When finished edits I select Edit - File Save As - select .JPG
    8.  As above in Booksmart I select "Get Photos"  - select the photos I want from the file
    9.  Select open
    10.  I will see the picture upload into Booksmart
    11.  The picture is ready to put into the book on the page I want.
    I do hope this is what you want - thanks

  • An error occurred: Save document failed / An error occurred while saving the document: PATH (HDB 00055)

    Hello Colleagues, I am creating an analysis in build 576, everything goes well, the algorithm calculates the needed values, but when I try to save the analysis, I receive the following error message: "An error occurred: Save document failed / An error occurred while saving the document: <PATH> (HDB 00055)".
    Does anyone know what could cause this error message?
    Thanks a lot for any hint.
    Sergey

    Hi Henry,
    I am using PA 1.0.11 and received this error; any update on this fix for SAP PA. Does this happen for a particular data source.
    I am currently using Excel as source and whenever I try to use this data; I get this even if I move the data to a new file or rename a file. I tried to check the same issue with a different file and it works fine. This file worked fine a day back.
    Please let me know if this is unusual for this version.
    Regards,
    Arvind E

  • Open a TIF file then save in JPG

    Started to use PhotoShop CS4.
    I use Canon DPP for preprocess then bridge to PhotoShop in TIF format.  I occasionaly want to
    save in JPG format rather than TIF to give the file to my friend.  However, there is no option to
    save in JPG in "File/Save in other name/" function.
    Could a guru help me how to do this.
    If a file was in jpg when opened, it can be saved in jpg, though.

    Thanks, but,,,,
    There is the SaveAs function.  (I wrote "Save in other name" which is a
    translation in Japanese version PS)
    However, there is no JPG format listed.  All available are:
      PhotoShop
      Cineon
      Dicom
      FXG
      IFF
      PhotoShop PDF
      PNG
      Portable Bit Map
      TIFF
      PSG
      RAW
    No JPG there.
    Tak

Maybe you are looking for

  • [MSI PRO MOD] Nocturnal Hunter by RandomDesign

    Introduction Hi everyone! My name is Stefan and I’m a 28-year-old student at Heidelberg University in Germany.  My subject is “Transcultural Studies” which focuses on the interactions between Asia and Europe in a global context.  In my leisure time,

  • PL/SQL 101 : Cursors and SQL Projection

    PL/SQL 101 : Cursors and SQL Projection This is not a question, it's a forum article, in reponse to the number of questions we get regarding a "dynamic number of columns" or "rows to columns" There are two integral parts to an SQL Select statement th

  • Loud bootup login beep Dv7 series notebooks

    Product: Pavilion DV7 6b55dx Operating system, irrelevant Error: none Changes made to system: using the bios security function to require a password If I set the login to require a password before windows starts, my Pavilion Dv7 makes a horribly loud

  • Slow start up and shut down on Satellite M105

    Hello everyone! I have been having some problems with my Satellite (M105-S3031) laptop. The problem is when I turn it off, I must wait more than 1 hr for can start it again and when I do a Restart, the laptop turn off but it stay there, it doesn't st

  • Spry Nav Menu - Please help

    I am viewing my website in internet explorer on an older computer and my spry left navigation bar is not working. Also the main content is pushed to the bottom of the page on homepage. Is there a fix for this? Of course it looks fine in IE 7 and Safa