Difference between revisions of "User:Lexzach/hlmv-transparent"

From Team Fortress Wiki
Jump to: navigation, search
(formating)
m
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<div style='background:#2A2725;border:3px solid #756B5E;border-radius:11px;color:#FBEBCA;padding:6px;box-shadow:2px 2px 12px #111;margin:auto;width:1500px;height:1775px;'>
+
<div style='background:#2A2725;border:3px solid #756B5E;border-radius:11px;color:#FBEBCA;padding:6px;box-shadow:2px 2px 12px #111;margin:auto;width:1200px;height: auto;'>
 +
{{DISPLAYTITLE:HLMV Transparent Program}}
 
{| class="wikitable" cellpadding="2" style="margin: 1em auto 1em auto; margin-bottom: 1px; color:#000000; align:center; text-align:center; background-color:#9c0a00; font-size:100%"
 
{| class="wikitable" cellpadding="2" style="margin: 1em auto 1em auto; margin-bottom: 1px; color:#000000; align:center; text-align:center; background-color:#9c0a00; font-size:100%"
|[[File:User_lexzach_hlmvbanner.png|700px|link=https://github.com/Lexzach/hlmv-transparent]]
+
|[[File:User_lexzach_hlmvbanner.png|700px|link=https://github.com/Lexzach/hlmv-transparent/releases]]
 
|}
 
|}
 
{| class="wikitable" cellpadding="2" style="margin: 1em auto 1em auto; margin-bottom: 1px; color:#000000; align:center; text-align:center; background-color:#9c0a00; font-size:100%"
 
{| class="wikitable" cellpadding="2" style="margin: 1em auto 1em auto; margin-bottom: 1px; color:#000000; align:center; text-align:center; background-color:#9c0a00; font-size:100%"
Line 8: Line 9:
 
= HLMV Transparent =
 
= HLMV Transparent =
  
[https://github.com/Lexzach/hlmv-transparent '''DOWNLOAD THE PROGRAM HERE''']
+
[https://github.com/Lexzach/hlmv-transparent/releases '''DOWNLOAD THE PROGRAM HERE'''] - '''If you need help setting it up, feel free to contact me on Discord at Lexzach#3215'''
  
[https://github.com/Lexzach/hlmv-transparent HLMV Transparent] is an easy to use python-based program that allows for the automated removal of the Half-Life Model Viewer background, to form a completely transparent background that complies with the guidelines for the Team Fortress 2 Wiki. The program will also optionally crop the image down to its smallest size possible while retaining all details of the image. If you have a 1920x1080 monitor, you can set up [https://github.com/Lexzach/hlmv-transparent HLMV Transparent] to automatically take the screenshots when pressing the "s" key.  
+
[https://github.com/Lexzach/hlmv-transparent/releases HLMV Transparent], aka HLMVTP, is an easy-to-use python-based program, developed by [[User:Lexzach|Lexzach]] specifically for the Team Fortress 2 Wiki, that allows for the automatic removal of the background of screenshots taken in Half-Life Model Viewer, to form a completely transparent background that complies with the image guidelines for the Team Fortress 2 Wiki. The program will (enabled by default) also crop images down to their smallest size possible while retaining all details of the image. If you have a 1920x1080 monitor, you can set up [https://github.com/Lexzach/hlmv-transparent/releases HLMV Transparent] to automatically take the screenshots when pressing the "s" key. After more than 2 months in development, hopefully it was worth the wait. The program also includes a separate folder and program for mass-cropping transparent images to their smallest size even if they aren't rendered in HLMVTP.
 +
<br><br>'''- TLDR Features -'''<br>
 +
Automatically make transparent images quickly.<br>
 +
Optional feature to control mouse to make screenshotting fast.<br>
 +
Second program to mass-crop .png photos down to their smallest size.<br>
 +
Full customization of rendering features.
 
|}
 
|}
 
{| class="wikitable" cellpadding="2" style="margin: 1em auto 1em auto; margin-bottom: 1px; color:#000000; align:center; text-align:left; background-color:#9c0a00; font-size:100%"
 
{| class="wikitable" cellpadding="2" style="margin: 1em auto 1em auto; margin-bottom: 1px; color:#000000; align:center; text-align:left; background-color:#9c0a00; font-size:100%"
Line 18: Line 24:
 
User_lexzach_hlmvexamplew.png|HLMV Screenshot with white background (first user input)
 
User_lexzach_hlmvexamplew.png|HLMV Screenshot with white background (first user input)
 
User_lexzach_hlmvexampleb.png|HLMV Screenshot with black background (second user input)
 
User_lexzach_hlmvexampleb.png|HLMV Screenshot with black background (second user input)
User_lexzach_hlmvdata.png|Data from [https://github.com/Lexzach/hlmv-transparent HLMV Transparent]
+
User_lexzach_hlmvdata.png|Data from [https://github.com/Lexzach/hlmv-transparent/releases HLMV Transparent]
 
User_lexzach_hlmvdatatrans.png|Transparent Data from HLMV Transparent
 
User_lexzach_hlmvdatatrans.png|Transparent Data from HLMV Transparent
 
User_lexzach_hlmvfinished.png|Pre-Crop finished image from HLMV Transparent (what the program outputs)
 
User_lexzach_hlmvfinished.png|Pre-Crop finished image from HLMV Transparent (what the program outputs)
Line 26: Line 32:
  
 
== Update History ==
 
== Update History ==
 +
=== MAJOR UPDATE ===
 +
* HLMV Transparent now runs within a downloadable executable, '''NO OTHER DOWNLOADS REQUIRED'''
 +
* Pre-built Python script is still available for users who prefer having the source code
 +
 +
=== v2.5 ===
 +
* Added metadata that contains rendering info for debugging from other Wikipedia uploaders
 +
 +
=== v2.4 ===
 +
* Added feature to remove the small line at the top of images render from HLMV on Windows 11
 +
 +
=== v2.3 ===
 +
* Added comments
 +
 +
=== v2.2 ===
 +
* Added Rendering Folder to GitHub
 +
* Added Cropping Folder to GitHub
  
 
=== v2.1 ===
 
=== v2.1 ===
Line 32: Line 54:
 
* New requirement SciKit
 
* New requirement SciKit
 
* Updated samples to reflect changes
 
* Updated samples to reflect changes
 +
* Changed cropping tool to list number of images to crop instead of the file names
 +
* Fixed crashing issue because the program doesn't import Glob
  
 
=== v2.0 ===
 
=== v2.0 ===
Line 39: Line 63:
  
 
=== v1.8 ===
 
=== v1.8 ===
* Fixed black line rendering on left side of pixels
+
* Fixed black line rendering on right side of pixels
  
 
=== v1.6 ===
 
=== v1.6 ===
Line 60: Line 84:
 
* Release version
 
* Release version
 
|}
 
|}
A program made and maintained by [[User:Lexzach|Lexzach]].
+
'''Forward all bugs to [[User:Lexzach|Lexzach]].'''

Latest revision as of 14:46, 28 January 2022

User lexzach hlmvbanner.png

HLMV Transparent

DOWNLOAD THE PROGRAM HERE - If you need help setting it up, feel free to contact me on Discord at Lexzach#3215

HLMV Transparent, aka HLMVTP, is an easy-to-use python-based program, developed by Lexzach specifically for the Team Fortress 2 Wiki, that allows for the automatic removal of the background of screenshots taken in Half-Life Model Viewer, to form a completely transparent background that complies with the image guidelines for the Team Fortress 2 Wiki. The program will (enabled by default) also crop images down to their smallest size possible while retaining all details of the image. If you have a 1920x1080 monitor, you can set up HLMV Transparent to automatically take the screenshots when pressing the "s" key. After more than 2 months in development, hopefully it was worth the wait. The program also includes a separate folder and program for mass-cropping transparent images to their smallest size even if they aren't rendered in HLMVTP.

- TLDR Features -
Automatically make transparent images quickly.
Optional feature to control mouse to make screenshotting fast.
Second program to mass-crop .png photos down to their smallest size.
Full customization of rendering features.

Gallery

Update History

MAJOR UPDATE

  • HLMV Transparent now runs within a downloadable executable, NO OTHER DOWNLOADS REQUIRED
  • Pre-built Python script is still available for users who prefer having the source code

v2.5

  • Added metadata that contains rendering info for debugging from other Wikipedia uploaders

v2.4

  • Added feature to remove the small line at the top of images render from HLMV on Windows 11

v2.3

  • Added comments

v2.2

  • Added Rendering Folder to GitHub
  • Added Cropping Folder to GitHub

v2.1

  • Added smoothing to edges
  • Added edgeSmoothing into config.txt to allow the user to adjust smoothing strength
  • New requirement SciKit
  • Updated samples to reflect changes
  • Changed cropping tool to list number of images to crop instead of the file names
  • Fixed crashing issue because the program doesn't import Glob

v2.0

  • Fixed all known issues with rendering
  • Anti-aliasing is now supported using GPU
  • Removed pixelLenience as it is not needed

v1.8

  • Fixed black line rendering on right side of pixels

v1.6

  • Added Anti-Aliasing
  • Added pixelLenience into config.txt to allow the user to set Anti-Aliasing strength
  • Updated the example folders to use Anti-Aliasing demos

v1.5

  • Added seperate "Cropper" script for only cropping images
  • Added folders for organization

v1.2

  • Added general optimizations

v1.1

  • Added automatic mode for quick screenshots
  • Required 2 new dependenceies

v1.0

  • Release version

Forward all bugs to Lexzach.