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

Re: [Inf-IT DAVcl] Photo problems (again?)


Ok, I also checked once again:


This is part of the 'original' vcard dataset

PHOTO;TYPE=jpeg;ENCODING=b:iVBORw0KGgoAAAANSUhEUgAAAPYAAAESCAYAAAD[...]

When I edit this entry (leave the contact photo unchanged) this is what
happens to the photo:

PHOTO;ENCODING=b;TYPE=png:data:image/png;base64,iVBORw0KGgoAAAANSU[...]


Gerald


Am 21.12.2015 um 08:11 schrieb Johan Vromans:
> On Mon, 21 Dec 2015 07:35:02 +0100
> Gerald Rausch <rausch@xxxxxxxxxxxxx> wrote:
> 
>> Every time I edit an entry (not the contact photo but e.g. the address)
>> the contact photo seems to be converted into PNG. The vcard file says:
>> PHOTO;ENCODING=b;TYPE=png:data:image/png;base64, .....
> 
> Interesting...
> 
> Grepping my contacts[*] it seems that clients have gone wild.
> 
> PHOTO;ENCODING=b;TYPE=jpeg:iVBORw0KGg... all data in one line
> 
> PHOTO;ENCODING=b;TYPE=jpeg:/9j/4AAQSk... all data in one line
> 
> PHOTO;ENCODING=b;TYPE=png:iVBORw0KGgo... all data in one line
> 
> PHOTO;ENCODING=B;TYPE=png:
>  iVBORw0KGgoAA... data broken in 76-byte lines
> 
> PHOTO;ENCODING=B;TYPE=JPEG;VALUE=BINARY:iVBORw0KGgoAA... all data in one
> line
> 
> PHOTO;ENCODING=b;TYPE=PNG;X-ABCROP-RECTANGLE=ABClipRect_1&0&28&246&246&z
>  5fNmNRbVNbd27D0BTkPsw==:iVBORw0KGgo...
> 
> Note that many TYPE=JPEG photos are really PNGs.
> 
> -- Johan
> 
> [*] http://www.gossamer-threads.com/lists/davical/general/2639#2639
> 

Follow-Ups:
Re: [Inf-IT DAVcl] Photo problems (again?)Ján Máté <jan.mate@xxxxxxxxxx>
Re: [Inf-IT DAVcl] Photo problems (again?)Johan Vromans <jvromans@xxxxxxxxxxx>
References:
[Inf-IT DAVcl] Photo problems (again?)Johan Vromans <jvromans@xxxxxxxxxxx>
Re: [Inf-IT DAVcl] Photo problems (again?)Ján Máté <jan.mate@xxxxxxxxxx>
Re: [Inf-IT DAVcl] Photo problems (again?)Gerald Rausch <rausch@xxxxxxxxxxxxx>
Re: [Inf-IT DAVcl] Photo problems (again?)Johan Vromans <jvromans@xxxxxxxxxxx>