• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Photoshop thumbnails and CS4

Advisor ,
Oct 12, 2008 Oct 12, 2008

Copy link to clipboard

Copied

I have been installing PS7 to get PSD thumbnails to show their image (rather than a generic icon) in Windows. I understand this facility was dropped in CS. Does anyone know if this has been restored in CS4 or will I have to continue to install PS7 before CS4?

Thanks.

Views

30.0K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Guest
Dec 05, 2008 Dec 05, 2008

Copy link to clipboard

Copied

> There's also been a bug for a while that could cause Explorer to "forget" view settings for some folders, basically a corruption bug in the persisted settings data.

That's the one! Thanks for replying anyway Brandon.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 05, 2008 Dec 05, 2008

Copy link to clipboard

Copied

I just want to add my voice to the thanks to Brandon for popping in
here. It's good to have a MS insider providing some info.

Don't be a stranger.

Bob

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 05, 2008 Dec 05, 2008

Copy link to clipboard

Copied

I'm sorry, but I have to add my two cents. Reading this current exchange, It seems that we have a Microsoft team member who is willing to help (almost bend over backwards) and the Adobe team member who seems to be very resistant. I would hope that isn't the pervasive philosophy within the Adobe team.

Thank you Brandon for joining in.

Paul

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 05, 2008 Dec 05, 2008

Copy link to clipboard

Copied

Yes, let's dig the old bug reports! Hope that they are still available with Red Wednesday... my thoughts are with those that got pinkslipped. I hope that the Photoshop team did not suffer too much, but it is very selfish...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Dec 05, 2008 Dec 05, 2008

Copy link to clipboard

Copied

Brandon - I'll have to follow up with our Microsoft liason. We've got a long list of bugs still open with MS and I don't know the specific issue number for that bug.

Paul - we would help if the API worked, but as far as we know it still doesn't work. Somewhere Microsoft may have failed to communicate a bug fix status to Adobe, and maybe Adobe isn't regressing every one of the hundreds of bugs we have open with Microsoft with every build of the OS. Both parties want to do the right thing, but somewhere communication broke down. You could also view this discussion as: Adobe tested this, found crippling bugs, reported the bugs to Microsoft, Microsoft didn't fix the bugs and Microsoft now claims the bugs don't exist. It depends on the viewpoint and what information you have available.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 06, 2008 Dec 06, 2008

Copy link to clipboard

Copied

> I'm sorry, but I have to add my two cents. Reading this current exchange, It seems that we have a Microsoft team member who is willing to help (almost bend over backwards) and the Adobe team member who seems to be very resistant. I would hope that isn't the pervasive philosophy within the Adobe team.

> Thank you Brandon for joining in.

Got the same impression. Couldn't have said it any better!

At the moment we got this (Adobe left, MS right):

Let's hope it will end like this:

And not like this (MS left, Adobe right):

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Dec 06, 2008 Dec 06, 2008

Copy link to clipboard

Copied

Somebody give me my PSD Exlporer thumbnails back!!

Image Hosted by ImageShack.us

Umm, actually, I have them. I hacked the Registry a long time ago to restore them to CS/CS2. I've just been looking for an excuse to post the gif... :)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Dec 06, 2008 Dec 06, 2008

Copy link to clipboard

Copied

>I've just been looking for an excuse to post the gif...

stolen! MUWAHAHAHAHA! :)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 06, 2008 Dec 06, 2008

Copy link to clipboard

Copied

Hey Chris,

Who is your contact for the Explorer team? Our platform program manager, David Washington, is probably the best person to talk to. If you (or the approriate person on your side) would like to get in touch with him, you can drop me an e-mail any time and I'll make the appropriate introduction. You can reach me at Brandon.Paddock@microsoft.com

As for your past experiences dealing with the Windows team I really can't comment especially without knowing what channel you'd gone through or who was around back then. All I can do is try to help with any problems you're hitting *now* and connect you with the best people to address any problems you run into.

Our team is extremely aggressive about fixing any issues that block adoption of our platform from ISVs, and large ones like Adobe in particular. If there really is a bug preventing you guys from implementing format handlers, I don't believe it would be hard for us to ensure it is fixed in Windows 7, and if at all possible I'm sure we'd do everything we can to get the fix available downlevel (ie. service pack, etc).

That said, the sheer number of thumbnail handlers that currently work on Vista without problems, and the in-depth test coverage we have in this area, makes me quite certain we could help you get this working without any changes to the OS at all.

You have my e-mail, so if you would like to try and get this feature working for a future Adobe release, please drop me a line at your convenience.

Thanks,
Brandon

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 06, 2008 Dec 06, 2008

Copy link to clipboard

Copied

I've the feeling, it's gonna be this: ... And if not, at least we know who proposed marriage ...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Dec 06, 2008 Dec 06, 2008

Copy link to clipboard

Copied

Appropriate introduction?

I will take care of this: What type of beer do you drink?

See, that was easy. :)

On to the next part.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Dec 09, 2008 Dec 09, 2008

Copy link to clipboard

Copied

We don't have a contact on the explorer team itself, we have corporate liasons between our companies.

According to our status of bugs filed with Microsoft: the explorer extension "leaving files open" bug still is not fixed, but the bug report has not been updated in years. (which is part of why we gave up hope that it would ever be fixed)

Someone will be in touch.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Dec 09, 2008 Dec 09, 2008

Copy link to clipboard

Copied

<crossing fingers>

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 11, 2008 Dec 11, 2008

Copy link to clipboard

Copied

Based on the registry setting, it looks like psicon.dll implements IExtractImage.

IExtractImage::GetLocation is passed a name to a file. The shell doesn't open the file, nor does it close it.

There is most likely a disagreement about the lifetime of the IExtractImage object and when the file should be opened or closed.

The simple workaround is to grab the thumbnail in GetLocation and close the file, or use a lazy load and open/close the file in IExtractImage::Extract. You would only need to open the file for a miniscule amount of time and close it right away.

When I implemented IThumbnailProvider for DNG, I used similar logic in my implementation of IInitializeWithFile -- request late and release early -- to avoid issues like this. This doesn't give you the flexibility of IInitializeWithStream, but it does give you total control of the lifetime of the file handle.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 15, 2008 Dec 15, 2008

Copy link to clipboard

Copied

David -

Yeah that's pretty much what I was saying in my original post :)

IInitializeWithStream is preferred for most handlers, though. It lets the handler operate over non-file objects, like files in a Zip folder, or any other namespace location that supports returning an IStream for its items. This will becomes more important going forward as we move more and more toward browsing and searching remote data, like OpenSearch locations in Windows 7.

In many cases we can create temp files to get around this (which is what Win7 does for OpenSearch locations with file-based previewers and such), but direct stream handling is preferred. We require it starting in Vista for IFilters because we lock down the filter host process so tightly that it *can't* access the file system, and so it can't mess up file access.

Previewers are another case where we prefer to host them at Low IL (like IE does with its protected mode tab processes), and if you let the shell handle getting the stream we can use very fine-grained oplocks to ensure that file access is never interrupted or blocked for other applications, merely delayed, while the file is being loaded.

So yeah, IInitializeWithStream is the best initialization pattern for a new handler as it allows you to take advantage of the many benefits of shell abstraction layer :)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Dec 29, 2008 Dec 29, 2008

Copy link to clipboard

Copied

Hey Brandon, could you help me with this? Or anyone else, every bit of help is welcome.

I'm trying to implement thumbnail provider for swf (flash) files in C#, but can't get IInitializeWithFile to work. It just won't call Initialize. IInitializeWithStream works fine, but I'd really like to get the path (because swf might load external files and I can't know where to look if I'm using stream)

I've seen on couple of other forums that people have the same problem and nobody got it to work.
Here's a piece of code:

//works fine, I get the thumbnail
[ComVisible(true), Guid("b824b49d-22ac-4161-ac8a-9916e8fa3f7f"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IInitializeWithStream
{
void Initialize(IStream stream, int grfMode);
}

//doesn't work when I implement it
[ComVisible(true), Guid("b7d14566-0509-4cce-a71f-0a554233bd9b"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IInitializeWithFile
{
void Initialize([MarshalAs(UnmanagedType.LPWStr)] string pszFilePath, int grfMode);
}

For the first parameter I've tried every type that came to my mind, but couldn't get it to work.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 30, 2008 Dec 30, 2008

Copy link to clipboard

Copied

These questions are a bit of a thread hijack. To bring this back to the original subject, the most frequent request we get is to do a PSD WIC codec. We have just started on it, but we should have one out in both 32 bit and 64 bit flavors in Q1 of 2009.

If you're not a software developer, then you can ignore the rest of my post.

If you implement IInitializeWithStream, then IInitializeWithFile won't be called due to the precedence stated in the remarks for IThumbnailProvider.

http://msdn.microsoft.com/en-us/library/bb774614.aspx

Also, both the Shell team and the .NET CLR team discourage writing shell extensions in managed code. See the comments from folks on both teams at Microsoft on the following link.

http://social.msdn.microsoft.com/forums/en-US/netfxbcl/thread/1428326d-7950-42b4-ad94-8e962124043e/

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Dec 30, 2008 Dec 30, 2008

Copy link to clipboard

Copied

Hey David

Thumbnail providers are sort of exception, they run in their own process so it's ok to write them in managed code.

I know that IInitializeWithStream has precedence, I comment it out and leave only IInitializeWithFile, and then it does nothing. dll is called but just won't call Initialize, it just exits like there's no appropriate implementation of IInitializeWithFile.Initialize

Sorry for thread hijack but this is sort of the only chance to resolve this thing once and for all, even if it means that it can't be done. I'm on this two weeks already and I've seen that other people also have the same problem. The one thing I didn't try is to make Preview handler, because it also uses IInitializeWithFile, and it seems to be working for other people who messed with it in C#, which makes it even more weird.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 11, 2009 Feb 11, 2009

Copy link to clipboard

Copied

Bump, this is the thread where I was wondering if communication was working again... Mr Hamburg might know about the bug, too, and works in User Exeperience...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 15, 2009 Feb 15, 2009

Copy link to clipboard

Copied

This exchange is the equivalent of New York politicians calling Chicago politicians "corrupt."

Adobe in infamous for being uncooperative and difficult. Whichever supervisor let this Adobe kid post these unsupervised rude responses to the Microsoft fellow should be canned -- unfortunately, it'll take Adobe three years to be able to evaluate this situation.

Microsoft and Adobe users don't give a darn about your little bickering -- what we want is software that makes life easier -- that we don't have to think about. I don't use Photoshop so I can think about Adobe stuff -- I use it to create images.

I paid a fortune to Adobe for Photoshop. The ball is in Adobe's court -- fix it!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Feb 15, 2009 Feb 15, 2009

Copy link to clipboard

Copied

Why are you telling us? We are users.

And the "Adobe kid" is probably twice your age and, even if he evades the confrontation witn M$, at least he is civil.

Photoshop CS4 works fine for the vast majority of users. It's just a few unfortunates that post here with their problems.

BTW, I too think this thumbnail problem could be solved if people got their fingers out.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 20, 2009 Jul 20, 2009

Copy link to clipboard

Copied

I think that this discussion misses one of the big issues with no psd thumbnails in Vista OS. If you use Lightroom 2 to import images that are on a drive you cannot see what the psd images are without leaving and using bridge or a better program like Irfanview. Talk about an albatross around your workflow neck.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 27, 2009 Aug 27, 2009

Copy link to clipboard

Copied

We will be opening this up to a public beta in a week or so.

http://www.ardfry.com/psd-codec/http://www.ardfry.com/psd-codec/

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 27, 2009 Aug 27, 2009

Copy link to clipboard

Copied

Now I'm excited. FINALLY! Someone is actually doing something about the icon in the .psd format.

It's much easier to view your icons in explorer than to launch Bridge. I don't care how fast Bridge is,

it's a program that needs to be started vs. just looking at the icon in explorer.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Aug 27, 2009 Aug 27, 2009

Copy link to clipboard

Copied

You still have to open explorer in order to view and wait for it to populate. Just like opening bridge up by itself, view and pick what you want, or just double click on it and it opens in CS4 64 bit or 32 bit whatever you choose.

Still it is nice someone is working on the explorer part though and it working in 64 bit more will be sweeter.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines