2024-02-11 17:47:00 +01:00
|
|
|
<!DOCTYPE html>
|
2024-05-22 22:48:23 +02:00
|
|
|
<html th:lang="${#locale.language}" th:dir="#{language.direction}" th:data-language="${#locale.toString()}" xmlns:th="https://www.thymeleaf.org">
|
2024-02-16 22:49:06 +01:00
|
|
|
<head>
|
|
|
|
<th:block th:insert="~{fragments/common :: head(title=#{pdfToImage.title}, header=#{pdfToImage.header})}"></th:block>
|
|
|
|
</head>
|
2024-02-11 17:47:00 +01:00
|
|
|
|
2024-02-16 22:49:06 +01:00
|
|
|
<body>
|
2024-02-11 17:47:00 +01:00
|
|
|
<th:block th:insert="~{fragments/common :: game}"></th:block>
|
|
|
|
<div id="page-container">
|
2024-02-16 22:49:06 +01:00
|
|
|
<div id="content-wrap">
|
|
|
|
<th:block th:insert="~{fragments/navbar.html :: navbar}"></th:block>
|
2024-03-21 21:58:01 +01:00
|
|
|
<br><br>
|
2024-02-16 22:49:06 +01:00
|
|
|
<div class="container">
|
|
|
|
<div class="row justify-content-center">
|
2024-05-19 12:44:54 +02:00
|
|
|
<div class="col-md-6 bg-card">
|
2024-05-05 13:19:53 +02:00
|
|
|
<div class="tool-header">
|
|
|
|
<span class="material-symbols-rounded tool-header-icon image">image</span>
|
|
|
|
<span class="tool-header-text" th:text="#{pdfToImage.header}"></span>
|
|
|
|
</div>
|
2024-02-16 22:49:06 +01:00
|
|
|
<p th:text="#{processTimeWarning}"></p>
|
|
|
|
<form method="post" enctype="multipart/form-data" th:action="@{api/v1/convert/pdf/img}">
|
|
|
|
<div th:replace="~{fragments/common :: fileSelector(name='fileInput', multiple=false, accept='application/pdf')}"></div>
|
|
|
|
<div class="mb-3">
|
|
|
|
<label th:text="#{pdfToImage.selectText}"></label>
|
|
|
|
<select class="form-control" name="imageFormat">
|
|
|
|
<option value="png">PNG</option>
|
|
|
|
<option value="jpg">JPG</option>
|
|
|
|
<option value="gif">GIF</option>
|
|
|
|
<option value="tiff">TIFF</option>
|
|
|
|
<option value="bmp">BMP</option>
|
|
|
|
</select>
|
2024-02-11 17:47:00 +01:00
|
|
|
</div>
|
2024-02-16 22:49:06 +01:00
|
|
|
<div class="mb-3">
|
|
|
|
<label th:text="#{pdfToImage.singleOrMultiple}"></label>
|
|
|
|
<select class="form-control" name="singleOrMultiple">
|
|
|
|
<option value="multiple" th:text="#{pdfToImage.multi}"></option>
|
|
|
|
<option value="single" th:text="#{pdfToImage.single}"></option>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<div class="mb-3">
|
|
|
|
<label th:text="#{pdfToImage.colorType}"></label>
|
|
|
|
<select class="form-control" name="colorType">
|
|
|
|
<option value="color" th:text="#{pdfToImage.color}"></option>
|
|
|
|
<option value="greyscale" th:text="#{pdfToImage.grey}"></option>
|
|
|
|
<option value="blackwhite" th:text="#{pdfToImage.blackwhite}"></option>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<div class="mb-3">
|
|
|
|
<label for="dpi">DPI:</label>
|
|
|
|
<input type="number" name="dpi" class="form-control" id="dpi" min="1" step="1" value="300" required>
|
|
|
|
</div>
|
|
|
|
<button type="submit" id="submitBtn" class="btn btn-primary" th:text="#{pdfToImage.submit}"></button>
|
|
|
|
</form>
|
2024-02-11 17:47:00 +01:00
|
|
|
</div>
|
2024-02-16 22:49:06 +01:00
|
|
|
</div>
|
2024-02-11 17:47:00 +01:00
|
|
|
</div>
|
2024-02-16 22:49:06 +01:00
|
|
|
</div>
|
|
|
|
<th:block th:insert="~{fragments/footer.html :: footer}"></th:block>
|
2024-02-11 17:47:00 +01:00
|
|
|
</div>
|
2024-02-16 22:49:06 +01:00
|
|
|
</body>
|
2024-03-21 21:58:01 +01:00
|
|
|
</html>
|