LUKIYA'S NEVERLAND

春去秋来,花谢花开。

睡前长时间上网影响睡眠 People who spend more pre-bedtime hours using the Internet or watching television are more likely to report that they don't get enough sleep, even though they sleep almost as long as people who spend fewer pre-bedtime hours in f...
心情糟透了。   下班回家开到T路口,有两小子骑着电动车看美女,闯了红灯。   我正好开到那里,哗啦一声,把他们给刮倒了。怒了!!色盲啊!!看不到红灯吗!!!!!!!   下车就开始骂人,把我惹毛了,最近因为她的事情心情本来就不...
最近忙X-Library,图形处理做得比较多。有很多时候都需要生成缩略图,可是如何在不扯宽或扯高原图的基础上,动态的生成缩略图就遇到了问题。 例如(单位像素px): 原图宽高为 1117x1100,要求生成宽高范围在128x96的缩略图。 以前就是粗糙的写死缩略图宽高...