Mustek PF-A700B Picture Frame

From HeadBackup
Revision as of 21:03, 15 November 2010 by Andrew (talk | contribs) (2 revisions)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

The Mustek PF-A700B picture frame uses a wide screen format but it's a little tricky to format pictures so that they take advantage of the screen. Thanks to this post I was able to come up with a quick mogrify batch file to resize, crop & then stretch pictures for display on the frame automatically. Results are not always ideal (vertical shots don't work very well, heads may get chopped off, etc) but in most cases this works so it can save a lot of time.

adjust images for frame.bat

"c:\Program Files\ImageMagick-6.5.0-Q16\mogrify.exe" -resize 960x960 *.JPG
"c:\Program Files\ImageMagick-6.5.0-Q16\mogrify.exe" -crop 960x480+0+120 *.JPG
"c:\Program Files\ImageMagick-6.5.0-Q16\mogrify.exe" -scale 624x468! *.JPG

rem for special cases where you want just the top portion of the image
rem convert -crop 960x480

The above script first resizes the images to 960 pixels on the widest side, then crops using an offset to get a vertically centered crop and finally scales the images disproportionately so that they look normal when stretched on the wide screen frame.