pyglet_png_to_dds_editor

所属分类:游戏引擎
开发工具:Python
文件大小:0KB
下载次数:0
上传日期:2019-12-09 17:47:20
上 传 者sh-1993
说明:  pyglet_png_to_dds_编辑器,,
(pyglet_png_to_dds_editor,,)

文件列表:
LICENSE (1102, 2019-12-09)
editor/ (0, 2019-12-09)
editor/__init__.py (0, 2019-12-09)
editor/interface/ (0, 2019-12-09)
editor/interface/__init__.py (0, 2019-12-09)
editor/interface/interface_holder.py (242, 2019-12-09)
editor/interface/main_interface.py (17407, 2019-12-09)
editor/interface/styles/ (0, 2019-12-09)
editor/interface/styles/main_interface.ini (1412, 2019-12-09)
editor/interface/widgets/ (0, 2019-12-09)
editor/interface/widgets/__init__.py (0, 2019-12-09)
editor/interface/widgets/slider.ini (147, 2019-12-09)
editor/interface/widgets/slider.py (11009, 2019-12-09)
editor/run_editor.py (9630, 2019-12-09)
editor/static/ (0, 2019-12-09)
editor/static/arrow_left.png (2170, 2019-12-09)
editor/static/arrow_left_pressed.png (2627, 2019-12-09)
editor/static/arrow_right.png (2151, 2019-12-09)
editor/static/arrow_right_pressed.png (2625, 2019-12-09)
editor/static/black_rect.png (1309, 2019-12-09)
editor/static/draw_framework_back.png (1865, 2019-12-09)
editor/static/draw_framework_transp.png (2861, 2019-12-09)
editor/static/load_btn.png (9453, 2019-12-09)
editor/static/main_interface.png (3581, 2019-12-09)
editor/static/rect.png (2298, 2019-12-09)
editor/static/save_btn.png (6841, 2019-12-09)
editor/utils/ (0, 2019-12-09)
editor/utils/__init__.py (0, 2019-12-09)
editor/utils/interface_mixin.py (3499, 2019-12-09)
editor/utils/sprite_patching.py (2199, 2019-12-09)
editor/utils/utils.py (744, 2019-12-09)
requirements.txt (228, 2019-12-09)

# About this is "Editor" This "Editor" is created ONLY for showing and experiments with converting **PNG** files on **DDS** files.
It's not intended for creating images, because a lot of things are missed which could be required such purpose. It's tested only on **Ubuntu** 18.04 and python 3.6.6.
Library requirements locate in [requirements.txt](https://github.com/Yuriy-Leonov/pyglet_png_to_dds_editor/blob/master/requirements.txt) **"Editor" could open only PNG files in RGBA format(32 bit per pixel)** GUI example(left part in PNG, right part is DDS(DXT5)): ![editor window](https://github.com/Yuriy-Leonov/pyglet_png_to_dds_editor/blob/master/images_for_README/screen_example.png) If you sure that you understand DXT5 compression - then look at this (APNG): ![editor window](https://github.com/Yuriy-Leonov/pyglet_png_to_dds_editor/blob/master/images_for_README/animation_dds.png) **Shortcuts and usage:** - Ctrl + P -> make screenshot - drawing is allowed on left part of GUI - mouse scroll -> zoom - mouse wheel hold and move -> move image - left mouse click on left side -> draw - sliders on right panel -> change color **Save as DDS:**
- Only DXT5 is available from box. (You could change it in hardcoded place - find `image.library.MagickSetOption(img.wand, b"dds:compression", b"dxt5")` line) - If you need to flip result DDS image - find `# img.flip()` and uncomment it **Initial script is** `editor/run_editor.py`

近期下载者

相关文件


收藏者