[p4] Getting/Setting file thumbnails with p4 attribute

jwoelper perforce-user-forum at forums.perforce.com
Wed Jul 25 05:15:01 PDT 2018

Posted on behalf of forum user 'jwoelper'.

Thank you for your reply. I ended up doing that differently by just setting the
hexadecimal attribute in python from a compatible png file. This was much faster
than writing a plugin and allows supporting other file formats more easily. p4
attribute also requires a user with admin privileges or it will not work; also
"view" > "show files as" "large thumbnails"
gave me what I was looking for.

Robert Cowham, on 2018/07/25 10:17:51 UTC, said:
>    Check out:    https://www.perforce.com/perforce/doc.current/user/p4thumbnotes.txt
>   The above shows supported image formats.
>   Basically your method should work and you should be able to write your own plugin.
>   There might be finer details around the command to store/retrieve attributes.

Please click here to see the post in its original format:

More information about the perforce-user mailing list