If you cannot setup an odbc connection to SQL server in windows 2000 you may want to try to install MDAC_TYP from Microsoft (Microsoft Data Access Components (MDAC) 2.8 SP1) from Microsoft website. If it still does not work, try using tcp/ip by clicking on "client configuration" in the odbc connection wizard.
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