[FIXED]savethumb problem

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
Alexey
Posts: 39
Joined: 08 Jun 2015 08:51

[FIXED]savethumb problem

Post by Alexey »

I use 16.20.0200. I used to create folder.jpg files with this script

Code: Select all

savethumb(, "folder", 256, , "jpg", 0, 1);
It doesn't save thumbnails created for PSD files anymore.

Image

I'm pretty sure it did before (I have earlier created folders with PSD files and folder.jpg created out of them).

I use High Speed quality for thumbs. Switching it to Fast, erasing thumb database and creating new thumbs didn't help. Works fine with any other image format I use.

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: savethumb problem

Post by admin »

Do get previews for PSD files? It only works when the preview works.

Alexey
Posts: 39
Joined: 08 Jun 2015 08:51

Re: savethumb problem

Post by Alexey »

Yes. Previews are working fine.

I must admit though sometimes I don't get thumbnails for PSD files (no idea why, tiny changes on PSD file and it has a thumb after being saved again).
Last edited by Alexey on 07 Feb 2016 14:03, edited 1 time in total.

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: savethumb problem

Post by admin »

Same here, PSD preview is mysteriously shaky. Cannot explain it.

You have set this tweak:

Code: Select all

PreviewPSDEmbeddedThumb=1
If you set it to 0 (which is the factory default) you would probably get no preview for the PSDs that fail with SC SaveThumb(). This is because the "embedded thumbnail" preview is not *real* preview, and it cannot be used by SC SaveThumb().

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: savethumb problem

Post by admin »

admin wrote:This is because the "embedded thumbnail" preview is not *real* preview, and it cannot be used by SC SaveThumb().
I just changed that. Next version SC SaveThumb() will make use of embedded thumbnails (only PSD and PSB files) as last resort.

Alexey
Posts: 39
Joined: 08 Jun 2015 08:51

Re: savethumb problem

Post by Alexey »

Yep, the tweak is set.

Thanks, will wait for the next version.

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: savethumb problem

Post by admin »

So? Happy now?

Alexey
Posts: 39
Joined: 08 Jun 2015 08:51

Re: savethumb problem

Post by Alexey »

Yep, tried on several files, works great, thank you! :tup:

Alexey
Posts: 39
Joined: 08 Jun 2015 08:51

Re: savethumb problem

Post by Alexey »

admin wrote:Same here, PSD preview is mysteriously shaky. Cannot explain it.
Could you keep old thumbnail if it can't create new one for some reason? It would be still more usable than default thumb for PSD.

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: [FIXED]savethumb problem

Post by admin »

Tweak:

Code: Select all

PreviewShellIfNoneBetter=1

Alexey
Posts: 39
Joined: 08 Jun 2015 08:51

Re: [FIXED]savethumb problem

Post by Alexey »

It's set to 1.

I'll describe the situation:
Image
1. I have PSD file with thumbnail already created
Image
2. I edit file and after saving PSD it loses it's thumb getting default thumbnail instead.

What I'm asking for is keeping old thumbnail if it can't create new one for some reason.

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: [FIXED]savethumb problem

Post by admin »

Ah, I understand. But: Not possible, sorry.

Post Reply