[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: libpng error: PNG file corrupted by ASCII conversion
From: Christian Mueller <cmueller () gmx ! de>
Date: 2005-02-08 6:03:18
Message-ID: 200502080703.25725.cmueller () gmx ! de
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
Am Dienstag, 8. Februar 2005 05:57 schrieb Shaheed:
> On Monday 07 February 2005 19:46, Jason Keirstead wrote:
> > On Monday 07 February 2005 2:53 pm, Karim Ryde wrote:
> > > I used Cervisia to commit all files.
> > > Running pngcheck after checkout from cvs shows all png OK.
> > > My app doesn't complain either... hum!
> >
> > It won't affect you because you checked in and out with a UNIX based OS,
> > and the CVS server is UNIX based..
> >
> > If someone in Unix checks in a binary without -kb, and someone in Win32
> > checks it out, it is messed up.
> >
> > It doesn't matter if both people use UNIX because UNIX doesn't use goofy
> > \r\n for linefeeds, so CVS doesn't need to do any translation.
>
> Interesting. So how do I fix all the PNG files I created and for which I did
> not use the switch on inital creation?
IIRC you can fix this with
cvs admin -kb filename
If you have control over the CVSROOT directory you can add a file name pattern
to the file cvswrappers in order to avoid this problem for future additions.
For example:
*.gif -k 'b'
*.png -k 'b'
*.jpg -k 'b'
With these settings those popular image types will be considered binary
by default. This kicks in when you "cvs add" the files, so not
retroactively.
HTH,
Christian.
[Attachment #5 (application/pgp-signature)]
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic