Technology Insights

Modify Word For Mac Image Size Properties From Inches To Pixels

Earlier while creating a instructional document I was inserting some images after I had edited them in Adobe Photoshop. Typically when I edit an image in Photoshop I generate the size of the image using pixels for height and width. I find this the easiest format to not only be universal but also to be the most accurate instead of using something like images. While lining the images up in this Word document I noticed Word uses Inches by default for image width and height. The below information describes how to modify the default measurement in Word for Mac from inches to pixels.

Technology Insights

Modify WordPress Plugin Shashin Default Thumbnail Size

I have been using the Shashin WordPress plugin for awhile now to display my Google Picasa image galleries. This plugin basically generates pages on your site that embed the images from your Picasa image galleries. So far I have been really satisfied with the plugin and tried numerous other Picasa plugins before settling on this one. One thing I needed to change because of the layout of my site was the default size for the album thumbnails which is 160 pixels. Below I describe how to modify this size so you can display more albums in a smaller amount of space.

Technology Insights

Twitter Background Image Deminsions To Fit Left Side

On a lot of Twitter feeds you will see a image to the left of the feed itself which makes it look as if the Twitter page itself has been designed. Basically what people are doing is adding a background image and typically using the tile feature to tile the image across the background. One thing to note is the fact that the image will display differently for various screen resolutions.

If you notice in the below image the background image fits perfectly for the screen resolution the page was viewed in which was 1280×800. The background image uploaded in this example below¬†has a width of 250 pixels and a height of 600 pixels. Again these deminsions will make the image fit perfectly in a browser fully expanded when shown on a monitor/screen with a resolution of 1280×800.

Technology Insights

How to Batch Resize Image from Linux Shell with ImageMagick

ImageMagick is a really cool product. Not only is it open source but its very powerful tool. My goal was to figure out how to batch resize images while keeping one side 640 pixels wide. I ended up using ImageMagick’s mogrify by issuing the command below at my CentOS shell prompt.

mogrify -resize x640 *.jpg

or

mogrify -resize 640 *.jpg

Depending on which side you want to be 640 pixels. If you would like for image magic to make the largest side 640 and constrain the proportions use the following command.