Re: [Ziproxy-users] Re: Shrinking images?
Brought to you by:
dmcabrita
From: wspigel <ws...@99...> - 2004-01-17 02:54:13
|
What about using ImageMagick? It is free, has many packages for various distros and supports all kinds of image formats. Will ----- Original Message ----- From: "Juraj Variny" <va...@na...> To: <zip...@li...> Sent: Friday, January 16, 2004 3:20 PM Subject: [Ziproxy-users] Re: Shrinking images? > > I've had a look at the HTTP header specifications, and found no standard > > way for a client to tell the server (the proxy in our case) about its > > screen size. I'm just thinking of transferring this through a comment > > in the User-Agent header, which wouldn't be too ugly. > > Yes, most near there is the Accept: header. > But IMHO this is an thing that could be solved with CSS, but hardly one > webmaster bothers it. > > > Of course, this wouldn't be trivial to implement in the proxy, as it > > would have to take into account the HTML width and height settings of > > images, as well as their actual sizes... > > This would require choosing more general-purpose image library, as I'm tired > from coding image transformations in C. Maybe we can return to libgd > (original mwp_proxy used it) if it does support GIFs now. HTML modification > is already there, but it is quite brittle, too. > > I'm thinking about to move some parts of ziproxy away from C, say into Python > (as near as ... summer holidays?). Then it may be much easier to use another > backend(s) for image manipulation. Stay tuned. > > Juraj > > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Ziproxy-users mailing list > Zip...@li... > https://lists.sourceforge.net/lists/listinfo/ziproxy-users > > |