To use the excellent ruby game framework Gosu and the 2D physics engine Chipmunk in Ubuntu, you need to copy the two .so files (chipmunk.so and gosu.so) in the /lib/ruby/1.8/i686-linux folder. You can download those files from
https://sites.google.com/site/jptarqu/downloads (look for gosu_and_chipmunk.tar.bz2).
I will explore the possibility of cross-platform, easy Game development using Gosu.
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