Photoshop problem

Discuss the art of creating art here. Share tutorials and tips with your fellow comic creators.

Photoshop problem

Postby Moblin » June 13th, 2011, 6:39 pm

Okay so I wasn't sure if I should put this in Help desk forum or this one, sorry if I'm wrong.
A lot of people seem to use Photoshop here so I though maybe you could help. I've been working on a drawing for several weeks now and almost finished it, but when I opened it up a bit ago (I've had it open a few other times today) it was completely black and missing all of its layers like the content never existed. Anyone else run into this before and know how to fix it? I really really don't want to start this drawing over again. It only seems to be this PDF file since i tried opening others and they turned out fine.
User avatar
Moblin
 
Posts: 273
Joined: September 20th, 2010, 8:32 am
Location: Middle Earth

Re: Photoshop problem

Postby blankd » June 13th, 2011, 6:51 pm

>PDF

You should save your Photoshop files as .psd 's. If you don't mind, you can upload the file here and one of us can try opening it with our copies to see what's wrong.
SuperBiasedMan wrote:Just because you've proven something blankd doesn't mean I have to believe it.

Image
my Tumblr! and my Sketchdump!
User avatar
blankd
 
Posts: 3520
Joined: January 28th, 2010, 12:43 am
Location: screen

Re: Photoshop problem

Postby Moblin » June 13th, 2011, 7:55 pm

Ah yeah psd that's what I meant to put whoops sorry about that.
I'd love to it would be a great help, but when i do it says the extension psd is not allowed
User avatar
Moblin
 
Posts: 273
Joined: September 20th, 2010, 8:32 am
Location: Middle Earth

Re: Photoshop problem

Postby blankd » June 13th, 2011, 7:58 pm

Googling a "free file upload" should yield a place you can upload the file to temporarily and to link us there.
SuperBiasedMan wrote:Just because you've proven something blankd doesn't mean I have to believe it.

Image
my Tumblr! and my Sketchdump!
User avatar
blankd
 
Posts: 3520
Joined: January 28th, 2010, 12:43 am
Location: screen

Re: Photoshop problem

Postby Lcan » June 14th, 2011, 4:48 am

Probably your psd file got currupt, the other possibility is that you've flatten all the layers before saving into the psd and somehow the only remaining was a black background or something.
Lcan
 
Posts: 14
Joined: June 13th, 2011, 4:49 pm

Re: Photoshop problem

Postby Moblin » June 14th, 2011, 8:35 am

Its most likely corrupt I know I didn't flatten it and it didn't have a black background. When you say file>open and click on it the image will appear normally in the thumbnail but wont actually come up.
Had to wait to upload till I got to my school there's a lot better internet connection there than at my house.
http://www.mediafire.com/?6p1041jm7vjsxpn
Let me know if the link doesn't work :/
User avatar
Moblin
 
Posts: 273
Joined: September 20th, 2010, 8:32 am
Location: Middle Earth

Re: Photoshop problem

Postby YakkitySax » June 14th, 2011, 6:41 pm

The link works, but the file for me is completely blank as well. I searched around the Adobe forums and couldn't find anything, though I may not have been searching with the right keywords. It looks like, to me, that the file was corrupted for some reason when you saved it.

Does adobe save backups of our files? If they do, then that's an option to look for.
I know there are different softwares out there, possibly free, that can fix a corrupted file, but I'm not sure if they will work with .psd format.
I love you, spam bots.
jan83fry wrote:It's my pleasure to get an opportunity to discuss in this reputed forum. I love seeing people thrive online. It's such a great opportunity I have today.

My Sketchbook
User avatar
YakkitySax
 
Posts: 2259
Joined: November 3rd, 2010, 1:47 pm
Location: IT'S GON' RAIN

Re: Photoshop problem

Postby eishiya » June 14th, 2011, 6:57 pm

I don't think PS has an option to save back-ups. The thing to do is write a script that'll save a new copy of the file when run (for example filename(timestamp).psd), and then have your save shortcut (ctrl+s, for example) point to that script instead of the normal save. Or have a special hotkey for it and get used to using that.

Files get corrupted, there's no helping that. The best you can do is save backups.

I don't practice good saving discipline myself, oops.


Here's a saving script. Saves a copy of the open file as a PSD with an ugly version of the timestamp attached (yyyymmddhhmmss (e.g. "20110615001353" for June 15, 2011, 00:13:53), the point is to just have an ever-increasing unique file name.

This will clog up your HD pretty fast if you're working with big files and save often, however. I don't actually recommend using it too freely. And of course, you'll need to delete any unneeded copies by hand.

Code: Select all
var begDesc = "$$$/JavaScripts/SaveCopy/Description=Saves a copy of the current file. Aimed at making backups." // endDesc


try {
   
   // Gets info about the document. Neato.
   var data = GetDataFromDocument( activeDocument );

   var psdSaveOptions = new PhotoshopSaveOptions();
   psdSaveOptions.embedColorProfile = true;
   psdSaveOptions.maximizeCompatibility = true;
       
        // If extensions are enabled by the user, then do not add an extension
        var extension = '.psd';
        if ( "" == data.extension ) {
         extension = "";
      }
   
      // Get the system date, convert it to local time using standard library functions, and add any leading 0s
      var date = new Date()
      month = date.getMonth()+1;
      if (month < 10)
         month = '0' + month;
      day = date.getDate();
      if (day < 10)
         day = '0' + day;
      hours = date.getHours();
      if (hours < 10)
         hours = '0' + hours;
      mins = date.getMinutes();
      if (mins < 10)
         mins = '0' + mins;
      secs = date.getSeconds();
      if (secs < 10)
         secs = '0' + secs;
      var timestamp = date.getFullYear() +'' + month + '' + day + '' + hours + '' + mins + '' + secs;
      // Rearrange/edit the previous line to obtain the exact date format you want. The year isn't padded.
      // The default is yyyymmddhhmmss. It is not advisable to reduce the precision as that will cause files to overwrite.
      
      
        // Saves a new JPG file with the settings and timestamp defined above
        activeDocument.saveAs( File( data.folder +
                                     '/' +
                                     data.fileName + '_'+ timestamp +
                                     extension ), psdSaveOptions, true );

} // try end
catch( e ) {
   /*if ('' == data.folder)
      alert( "Document is not saved, cannot get path info." );
   else*/
      alert( "Unable to get document data" );
}

///////////////////////////////////////////////////////////////////////////////
// Function: GetDataFromDocument
// Usage: pull data about the document passed in
// Input: document to gather data
// Output: Object containing folder, fileName, fileType, extension
// NOTE: This function is stolen from an official Adobe Systems script.
///////////////////////////////////////////////////////////////////////////////
function GetDataFromDocument( inDocument ) {
   var data = new Object();
   var fullPathStr = inDocument.fullName.toString();
   var lastDot = fullPathStr.lastIndexOf( "." );
   var fileNameNoPath = fullPathStr.substr( 0, lastDot );
   data.extension = fullPathStr.substr( lastDot + 1, fullPathStr.length );
   var lastSlash = fullPathStr.lastIndexOf( "/" );
   data.fileName = fileNameNoPath.substr( lastSlash + 1, fileNameNoPath.length );
   data.folder = fileNameNoPath.substr( 0, lastSlash );
   data.fileType = inDocument.fullName.type;
   return data;
}



I tend to save my files every couple of minutes, so I'd run out of room too quickly. I just... save and hope it doesn't get corrupted =_=
Busy, busy.
User avatar
eishiya
 
Posts: 5757
Joined: December 5th, 2009, 11:17 am

Re: Photoshop problem

Postby Moblin » June 14th, 2011, 8:03 pm

I actually do save a lot, almost anytime I change or add something. But I know I didn't save it to look like this :[
Thank you for the script I'll try working with it.

EDIT: Well I didn't completely fix my problem but I did find out one good thing. When I right click on the psd there's a button that says restore previous versions. while the ones listed aren't the most recent, it only seems to list last month and year. But the most recent listed is still pretty far into my picture although I'll have to redo a few things, the good thing is I might not have to completely redo it which is good. It also allowed me to open it fully with all the layers and I saved a copy. I'm probably gonna mess with my original a bit more though just in case. Just to figure out whats wrong with it. Thank you for your time and help guys :]
User avatar
Moblin
 
Posts: 273
Joined: September 20th, 2010, 8:32 am
Location: Middle Earth


Return to Art Tutorials & Techniques

Who is online

Users browsing this forum: No registered users and 1 guest