To create customized, windows installers of Tomcat server (including an option to allow the user to install it as a windows service) you can modify the ".nsi" installation script provided in the "res" folder. You can find the res folder when you download Tomcat's source code. For more information on nsi scripts please visit http://nsis.sourceforge.net/Main_Page.
The following Powershell script will convert a batch of JPEG files to TIFF format: #This Code is released under MIT license [System.Reflection.Assembly]::LoadWithPartialName("System.Drawing") $files_folder = 'C:\path-where-your-jpg-files-are\' $pdfs = get-childitem $files_folder -recurse | where {$_.Extension -match "jpg"} foreach($pdf in $pdfs) { $picture = [System.Drawing.Bitmap]::FromFile( $pdf.FullName ) $tiff = $pdf.FullName.replace('.PDF','').replace('.pdf','').replace('.jpg','').replace('.JPG','') + '.tiff' $picture.Save($tiff) }
Comments