asemisldkfj
the law is no protection
I just did some image resizing stuff with PHP and GD. any desire for something like this to go into the ttf code? I could do it sometime in the next couple of weeks. I read the thread you made on bsdnexus about your image resizing code, lr. I don't know if it would be easier for you to just implement that, or if you'd want me to take some elements of that (like if the image isn't square, automatically crop the edges or something) and do it myself. too bad I'm so busy with school right now, I'd really like to do this soon!
nny
M̮͈̣̙̰̝̃̿̎̍ͬa͉̭̥͓ț̘ͯ̈́t̬̻͖̰̞͎ͤ̇ ̈̚J̹͎̿̾ȏ̞̫͈y̭̺ͭc̦̹̟̦̭̫͊̿ͩeͥ̌̾̓ͨ
GD is pretty cpu intensive server side... most wolks would be weary about giving users access to that much resources.
i don't want this because i want users to design their avatars for 30x30. if i allow people to just upload some random image then crop/resize it, there will be a lot of shitty avatars on here. that's at least why i didn't do it in the past.
asemisldkfj
the law is no protection
well it would just be convenient if you already have a square image you'd like to use for an avatar. you could make it a requirement that the image be square, or roughly square, and still offer resizing.
still, if you take a 300x300 image and resize it to 30x30, each group of 100 pixels has to be made into one. i hate such severe losses of detail. i just feel such a feature will be misused.
do you think that we'd still get decent avatars on here? i mean, we could. but i feel that a lot of people would just upload some random image and it'd be shitty.
asemisldkfj
the law is no protection
well, mine was resized from something like 100x100 pixels. if you resample it well it doesn't always turn out horrible. you've got a point though. I just assumed people would know that if they resize a giant image to 30x30 it's not necessarily going to look any good.
yeah, i'm not saying it's necessarily a bad idea. but i just want people to be thoughtful of resizing to 30x30.
plus i don't know how good GD is for resizing. if we allow 30x30, 60x60, etc.. it might give better quality than any size (reducing size by 1/3 is kind of weird for some algorithms, i think).
asemisldkfj
the law is no protection
yeah, I don't really know anything about image resampling and stuff. so you may indeed be right about that.
this post has been archived.