Инструменты пользователя

Инструменты сайта


progs:photo-soft

Различия

Показаны различия между двумя версиями страницы.

Ссылка на это сравнение

Предыдущая версия справа и слеваПредыдущая версия
Следующая версия
Предыдущая версия
progs:photo-soft [06.04.2025 15:13] – [ImageMagick] viacheslavprogs:photo-soft [06.05.2025 15:03] (текущий) – [Resynthesizer / Heal selection] viacheslav
Строка 21: Строка 21:
 dir $folder -Filter "*.bmp" |ForEach-Object -Parallel { dir $folder -Filter "*.bmp" |ForEach-Object -Parallel {
 & ffmpeg -i "$($_.fullname)" -q:v 3 "$($_.basename).jpg" & ffmpeg -i "$($_.fullname)" -q:v 3 "$($_.basename).jpg"
-} -ThrottleLimit (gcim win32_processor).ThreadCount+} -ThrottleLimit $env:NUMBER_OF_PROCESSORS
  
 # Пропись комментариев # Пропись комментариев
Строка 65: Строка 65:
 # Нужны не все файлы в папке, иначе можно было бы указать *.bmp для magick.exe # Нужны не все файлы в папке, иначе можно было бы указать *.bmp для magick.exe
 $files = dir *.bmp |? basename -match 'img12[1-9]' $files = dir *.bmp |? basename -match 'img12[1-9]'
-200 dpi, формат А4, поля 400 пикселей, jpeg-сжатие качеством 60 +150 dpi, формат А4 (210x297mm / 8.27x11.69in / 595x842pt), поля 300 пикселей, jpeg-сжатие качеством 70 
-'C:\scripts\ImageMagick\magick.exe+$dpi = 150 
--density 200 $files.name +$a4 = "$(8.27*$dpi)x$(11.69*$dpi)" 
--page A4 -bordercolor white -border 400 + 
--compress jpeg -quality 60 +"C:\scripts\ImageMagick\magick.exe
- C:\temp\output.pdf+$files.name -bordercolor white -border 300 ` 
 +-resize $a4 -gravity center -extent $a4 
 +-compress jpeg -quality 70 
 +"C:\temp\output$dpi.pdf"
 </code> </code>
 +https://acavalin.com/p/images_to_a4pdf
  
 Вариант с GhostScript. Не так удобно, как с imagick: конвертировать в jpg и делать список входящих файлов надо заранее, поля не задаются. Вариант с GhostScript. Не так удобно, как с imagick: конвертировать в jpg и делать список входящих файлов надо заранее, поля не задаются.
Строка 95: Строка 99:
 </code> </code>
  
 +====== Gimp ======
 +
 +===== Resynthesizer / Heal selection =====
 +
 +> As an alternative for Windows, one from samj who make a portable gimp 2.10, same code but a more recent compile. Updated to partha versions
 +
 +> One thing that has been updated for Gimp 2.10 is the heal-selection.py plugin. The old one still works although newer version has updated some deprecated procedures.
 +
 +> 64 bit version attached. Unzip, replace the existing, wherever you installed them. (''~\AppData\Roaming\GIMP\2.10\plug-ins'')
 +
 +> I suspect that it might be more than just an old-version problem.
 +
 +> Edit: Added an updated version
 +> Edit: The samj version is 0.16c  The Partha version is version 2 There is a difference in the resythesize-gui but not in functionality. For use with the 'heal-python plugins either work.
 +> Edit: Some asking about the other plugins. If you need more than the two 'heal' plugins download the plugins zip.
 +
 +> Example of installation: https://youtu.be/JCbrXqVgttY  2 minutes, no audio
 +
 +{{ :progs:resynth.zip |}}\\
 +{{ :progs:resynth-partha.zip |}}\\
 +{{ :progs:resynth-python-plugins.zip |}}
  
 +https://www.gimp-forum.net/Thread-Resynthisizer-Heal-Selection-Runtime-Error?pid=12687#pid12687
progs/photo-soft.1743952410.txt.gz · Последнее изменение: viacheslav

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki