search for: to_imag

Displaying 2 results from an estimated 2 matches for "to_imag".

Did you mean: to_image
2010 Dec 08
0
copy old CF image to new CF device
..." fdisk -l $DEVICE echo "" mke2fs -j $PARTITION_1 mkswap $PARTITION_2 # mount the first partition in the image file mount -t ext3 -o loop,offset=32256 ebox4300.centos.5.5.cf.img /mnt/from_image mount -t ext3 $PARTITION_1 /mnt/to_image PUSH_PWD=`pwd` # Directories to copy cd /mnt/from_image for DIRECTORY in bin boot dev etc home install lib misc net opt root sbin selinux srv tftpboot tmp usr var do tar -cf - $DIRECTORY | (cd /mnt/to_image; tar -xpvf - ) done # Skip these directories above and just make them for mounting mkdi...
2012 Aug 07
3
Barcode Generating With Label On Canvas by using Barby gem
...39;barby'' require ''barby/outputter/rmagick_outputter'' require ''barby/barcode/code_128'' require ''barby/outputter/prawn_outputter'' require ''pdf/writer'' module Barby class RmBarcode < ActiveRecord::Base register :to_image_with_data def to_image_with_data #Make canvas bigger canvas = Magick::ImageList.new canvas.new_image(full_width , full_height + 10) canvas << to_image canvas = canvas.flatten_images #Make the text text = Magick::Draw.new text.font_family =...