Difference between revisions of "Photo Frame"
Jump to navigation
Jump to search
m |
m (Reverted edits by Etegohy (Talk) to last revision by PhilippeTeuwen) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | ==Hardware== |
||
+ | I bough on Ebay a photo frame for 20 GBP: |
||
+ | <br>'''7.2 x 6 Digital Photo Picture Frame''' |
||
+ | <br>http://images.virtualvillage.com/005965-002/001.jpg |
||
+ | <br>This has no brand but it shows pictures, mp3 and even videos. |
||
+ | ==Original description== |
||
+ | *Choose from 14 different viewing modes, including: |
||
+ | ** Zoom |
||
+ | ** One loop |
||
+ | ** Continuous repeat loop |
||
+ | ** Slideshow |
||
+ | ** Rotation |
||
+ | ** Single picture view |
||
+ | * Supports the Following Memory Cards |
||
+ | ** Compact Flash (CF) |
||
+ | ** Secure Drive (SD) |
||
+ | ** Memory Stick (MS) |
||
+ | ** Multi media Card (MMC) |
||
+ | ** Smart Media (SM) |
||
+ | * Specifications |
||
+ | ** Video Formats Supported: MPEG1 (VCD), MPEG2 (DVD), MPEG4 (DIVX/XVID) & JPEG |
||
+ | ** Audio Format Supported: MP3 |
||
+ | ** Display: 6.5” (17cm) TFT LCD |
||
+ | ** Speaker: Internal 2*2W |
||
+ | ** Output Port: One stereo port & one AV (audio/video) port |
||
+ | ** Video System: Supports NTSC/PAL |
||
+ | ** Menu language: English & Chinese |
||
+ | ** Power Consumption: 15W |
||
+ | ** Dimensions: 7.2 x 6 x 1.5” (18.5 x 15 x 4 cm) |
||
+ | *Included |
||
+ | ** AV Output Cable |
||
+ | ** Remote Control |
||
+ | ** Instruction Manual |
||
+ | |||
+ | |||
+ | ==Resizing script== |
||
No need for 3456x2304 pictures if you want to see them on those small photo frames. |
No need for 3456x2304 pictures if you want to see them on those small photo frames. |
||
<br>E.g. the Philips 7FF1AW is 720x480. |
<br>E.g. the Philips 7FF1AW is 720x480. |
||
Line 6: | Line 42: | ||
<br>Run it at the root of the directory full of your big pictures, it will resize all of them (and delete the original pictures, be careful!!) |
<br>Run it at the root of the directory full of your big pictures, it will resize all of them (and delete the original pictures, be careful!!) |
||
<br>Here it is 640x480, change SCALE data if you need another size. |
<br>Here it is 640x480, change SCALE data if you need another size. |
||
+ | <source lang=bash> |
||
− | <pre> |
||
#!/bin/bash |
#!/bin/bash |
||
for i in $(find $PWD -name "*.[Jj][Pp][Gg]"|grep -v "_s\."); do |
for i in $(find $PWD -name "*.[Jj][Pp][Gg]"|grep -v "_s\."); do |
||
Line 26: | Line 62: | ||
rm $i |
rm $i |
||
done |
done |
||
− | </ |
+ | </source> |
+ | ==Video== |
||
+ | cf [[Sony_Handycam#Avidemux|Avidemux]] |
Latest revision as of 21:38, 24 November 2010
Hardware
I bough on Ebay a photo frame for 20 GBP:
7.2 x 6 Digital Photo Picture Frame
http://images.virtualvillage.com/005965-002/001.jpg
This has no brand but it shows pictures, mp3 and even videos.
Original description
- Choose from 14 different viewing modes, including:
- Zoom
- One loop
- Continuous repeat loop
- Slideshow
- Rotation
- Single picture view
- Supports the Following Memory Cards
- Compact Flash (CF)
- Secure Drive (SD)
- Memory Stick (MS)
- Multi media Card (MMC)
- Smart Media (SM)
- Specifications
- Video Formats Supported: MPEG1 (VCD), MPEG2 (DVD), MPEG4 (DIVX/XVID) & JPEG
- Audio Format Supported: MP3
- Display: 6.5” (17cm) TFT LCD
- Speaker: Internal 2*2W
- Output Port: One stereo port & one AV (audio/video) port
- Video System: Supports NTSC/PAL
- Menu language: English & Chinese
- Power Consumption: 15W
- Dimensions: 7.2 x 6 x 1.5” (18.5 x 15 x 4 cm)
- Included
- AV Output Cable
- Remote Control
- Instruction Manual
Resizing script
No need for 3456x2304 pictures if you want to see them on those small photo frames.
E.g. the Philips 7FF1AW is 720x480.
Resize your pictures and you'll be able to put much more of them in your frame.
Here is an example script, it requires identify from ImageMagick and tools from netpbm.
Run it at the root of the directory full of your big pictures, it will resize all of them (and delete the original pictures, be careful!!)
Here it is 640x480, change SCALE data if you need another size.
#!/bin/bash
for i in $(find $PWD -name "*.[Jj][Pp][Gg]"|grep -v "_s\."); do
echo "Convert $i"
#This requires ImageMagick to get the size of the image:
w=$(identify -format "%w" $i)
h=$(identify -format "%h" $i)
#If you don't (want to) have ImageMagick, you can get w & h with this line:
#eval $(jpegtopnm $i 2>/dev/null |pnmfile|grep stdin|sed 's/^.* \([0-9]\+\) by \([0-9]\+\) .*$/w=\1;h=\2/')
if [ $(($w*3)) -lt $(($h*4)) ]; then
SCALE="-ysize=480"
else
SCALE="-xsize=640"
fi
jpegtopnm $i |pnmscale $SCALE |pnmtojpeg --quality=95 > ${i/./_s.}
rm $i
done
Video
cf Avidemux