[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: trying to understand 8bit emails

On Mon, Jun 23, 2003 at 03:13:54PM -0400, Fraser Campbell wrote:
> although it's viewable on the other end and appears to be intact (i.e. I can 
> view it) doing a diff between the emailed jpeg and the original shows that 
> there are differences.
> Does anyone have some pointers on where things might be going wrong?  

Maybe it's the local delivery agent's fault (procmail/maildrop/...)?

Also, you can have a look at what's exactly changing with:

perl -p -e '$_=join "", map { "[".ord($_)."]".($_ eq "\n"?"\n":"") } split(//,$_)' < before.jpg > E1
perl -p -e '$_=join "", map { "[".ord($_)."]".($_ eq "\n"?"\n":"") } split(//,$_)' < after.jpg  > E2
diff -u E1 E2 > diff

I'd be grateful if you let me know what kind of changes those were...


Marcin Owsiany <porridge@debian.org>             http://marcin.owsiany.pl/
GnuPG: 1024D/60F41216  FE67 DA2D 0ACA FC5E 3F75  D6F6 3A0D 8AA0 60F4 1216

Reply to: