Screenshots: Unable to update all node screenshots #104740

Closed
opened 2024-03-18 03:11:34 +01:00 by dupoxy · 4 comments
Contributor

blender-manual/tools/utils_maintenance/generate_node_screenshots.py
not updated to reflect 7c5f376422
generate PNG vs WEBP ...
making this tool unusable.
related: blender/blender-manual#73397

blender-manual/tools/utils_maintenance/generate_node_screenshots.py not updated to reflect https://projects.blender.org/blender/blender-manual/commit/7c5f37642206b64e95c41775034780900682c48f generate PNG vs WEBP ... making this tool unusable. related: blender/blender-manual#73397
dupoxy added the
Type
Report
Status
Needs Triage
Priority
Normal
labels 2024-03-18 03:11:34 +01:00
dupoxy changed title from Screenshots:can not Update all node screenshots to Screenshots: Unable to update all node screenshots 2024-03-18 03:14:56 +01:00
Member

Unfortunately, I don't think there is a why to tell Blender how to format the screenshot file from python.

In the past, i have used cwebp to batch convert these files.

Unfortunately, I don't think there is a why to tell Blender how to format the screenshot file from python. In the past, i have used `cwebp` to batch convert these files.
Author
Contributor

I do see webp here: https://docs.blender.org/api/current/bpy_types_enum_items/image_type_items.html but don't know what to do with the info .

I do see webp here: https://docs.blender.org/api/current/bpy_types_enum_items/image_type_items.html but don't know what to do with the info .
Member

Blender supports webp images however, bpy.ops.screen.screenshot is hard-coded to only use PNGs, last time I looked into it it was not trivial to make an acceptable solution.

Blender supports webp images however, [bpy.ops.screen.screenshot](https://docs.blender.org/api/current/bpy.ops.screen.html#bpy.ops.screen.screenshot ) is hard-coded to only use PNGs, last time I looked into it it was not trivial to make an acceptable solution.
Author
Contributor

I'll close this then. and use cwebp too .

I'll close this then. and use `cwebp` too .
Blender Bot added
Status
Archived
and removed
Status
Needs Triage
labels 2024-03-18 04:26:42 +01:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-manual#104740
No description provided.