Search found 11 matches

by smclellan
2013-10-17T16:54:04-07:00
Forum: Users
Topic: Convert ithmb
Replies: 27
Views: 18116

Re: Convert ithmb

Hey everybody,
I hope this will help someone out in the future. The following script will take *.ithmb files from an iPod Photo Cache and convert them into usable PNG files.
****Please note, this was written for *.ithmb files from an iPhone Photo cache. I believe it would work with *.ithmb files ...
by smclellan
2013-10-16T18:25:07-07:00
Forum: Users
Topic: Convert ithmb
Replies: 27
Views: 18116

Re: Convert ithmb

I've made those changes to the fix.sh script. It works both ways - don't know why - but here's the modified code.

convert \
xc:black xc:white -append -write mpr:m +delete \
-size 720x400 \
tile:mpr:m \
mask.png

convert \
-size 720x480 -depth 16 -sampling-factor 4:2:2 \
T1016.uyvy \
-crop ...
by smclellan
2013-10-16T18:17:27-07:00
Forum: Users
Topic: Convert ithmb
Replies: 27
Views: 18116

Re: Convert ithmb

snibgo, scratch that, I figured out the issue with my script. Below are the changes -


convert \
xc:black xc:white -append -write mpr:m +delete \
-size 720x400 \
tile:mpr:m \
mask.png

convert \
-size 720x480 -depth 16 -sampling-factor 4:2:2 \
T1016.uyvy \
-crop 100^^x50% \
-filter Point ...
by smclellan
2013-10-16T18:10:16-07:00
Forum: Users
Topic: Convert ithmb
Replies: 27
Views: 18116

Re: Convert ithmb

Before I go any further, Thank you both. Seriously, it is kinda awesome to get this much help so quickly.

snibgo, I placed your code into a file called fix.sh and made the changes to the double %'s and ^'s per your instrucitons. When I run it - sh fix.sh T1016.png

I get fix.sh: line 2: fg: no job ...
by smclellan
2013-10-16T17:59:07-07:00
Forum: Users
Topic: Convert ithmb
Replies: 27
Views: 18116

Re: Convert ithmb

This is the output of convert -version

Version: ImageMagick 6.8.7-0 2013-10-16 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2013 ImageMagick Studio LLC
Features: DPC
Delegates: bzlib djvu fftw fontconfig freetype gslib jng jpeg lcms ltdl lzma png ps png tiff webp x xml zlib

IM ...
by smclellan
2013-10-16T17:40:57-07:00
Forum: Users
Topic: Convert ithmb
Replies: 27
Views: 18116

Re: Convert ithmb

fmw42, I am not really sure what the uyvy format is either. I am assuming that it is some type of RAW format. Is there a command I can run to determine the IM version? It is the most recent version that installs with MacPorts. I installed it today.
by smclellan
2013-10-16T17:28:28-07:00
Forum: Users
Topic: Convert ithmb
Replies: 27
Views: 18116

Re: Convert ithmb

fmw42 and snibgo, I am running Mac OS Mountain Lion so Unix is my OS.
by smclellan
2013-10-16T15:51:26-07:00
Forum: Users
Topic: Convert ithmb
Replies: 27
Views: 18116

Re: Convert ithmb

snibgo, here is a link to the resulting file I get when converting from the uyvy to jpg (same result as with png). https://www.dropbox.com/s/8ve2dumgzl8eunr/T1016.jpg
by smclellan
2013-10-16T15:48:26-07:00
Forum: Users
Topic: Convert ithmb
Replies: 27
Views: 18116

Re: Convert ithmb

Snibgo, I am not 100% sure that both halves are identical, but the link provided is one of the .uyvy files for experimentation. https://www.dropbox.com/s/fh172mbkv8m7ls5/T1016.uyvy
by smclellan
2013-10-16T15:36:08-07:00
Forum: Users
Topic: Convert ithmb
Replies: 27
Views: 18116

Re: Convert ithmb

fmw42,
From what I can see, as in my post, there are only two options for the -endian option, LSB and MSB. I have tried both of those, but, full disclosure, I have no idea what endianness is or how it affects an image. Are there more options for -endian that I am not aware of. -list endian only ...
by smclellan
2013-10-16T15:11:57-07:00
Forum: Users
Topic: Convert ithmb
Replies: 27
Views: 18116

Convert ithmb

First of all - to whom it may concern - thank you for such a powerful and simple tool. It is a lifesaver.
Secondly, I am having an issue converting .ithmb files to a usable image format. I have had some success by renaming the .ithmb to .uyvy format and then converting to a .png and/or .jpg ...