후배가 에어맥스 질렀다고 사진 보라고 보내준 파일이름이다.
여전히 욕 같아...
여전히 욕 같아...
'개소리 왈왈' 카테고리의 다른 글
딸기에서 술맛이! (0) | 2009.05.09 |
---|---|
5월 1일 그리고 3박 4일 여행 (6) | 2009.05.01 |
웬지 초 공감 유머 (6) | 2009.04.27 |
출근길의 풍경 (0) | 2009.04.23 |
블로그 이미지 다이어트를 했습니다! (4) | 2009.04.23 |
딸기에서 술맛이! (0) | 2009.05.09 |
---|---|
5월 1일 그리고 3박 4일 여행 (6) | 2009.05.01 |
웬지 초 공감 유머 (6) | 2009.04.27 |
출근길의 풍경 (0) | 2009.04.23 |
블로그 이미지 다이어트를 했습니다! (4) | 2009.04.23 |
에어컨 냉각기 꺼질때 냄새가 나지않는다면? (4) | 2009.06.25 |
---|---|
mp3 쇳소리를 없앨수 있다면? (0) | 2009.06.02 |
지하철에 어느방향 열차가 들어 오는지 알려주는 표지판 (10) | 2009.04.27 |
미래형 자동차 (2) | 2009.04.09 |
돈지랄 노트북의 미래 (2) | 2009.04.09 |
cal / J(줄) 환산 (0) | 2009.05.28 |
---|---|
개발의 어려움 (4) | 2009.05.13 |
확장자 sgm (2) | 2009.04.03 |
mp3 ID3 tag (0) | 2009.04.02 |
MD(Mini Disc) / UMD(Univeral Media Disc) (0) | 2009.03.03 |
ai가 인간의 범주를 넘어섰다라.. (0) | 2017.07.26 |
---|---|
인공지능에게 시간과 연산량 (0) | 2017.06.12 |
오랫만에 뻘글 - 인공지능과 인간의 몰락 (0) | 2016.12.12 |
알파고 2승 (0) | 2016.03.10 |
openAI (0) | 2015.12.13 |
sum = 0 ; i = 1 ; for( ; i<11 ;) sum += ++i ;
for(sum = 0,i=1;i<11;) sum += ++i;
sum = 0 ; i=1; while(i<11) { sum += ++i; }변형된 코드 3 - goto문으로 변형
sum = 0 ; i = 1; while_loop: { if(i<11) ; else break; ++i; sum += i; } goto while_loop:
sum = 0 ; i = 1 ; for( ; i<11 ; ++i) sum += 1 ;
for(sum = 0,i=1;i<11;++i) sum += 1;
sum = 0 ; i=1; while(i<11) { sum += 1; ++i; }
sum = 0 ; i =1; while_loop: { if(i<11) ; else break; sum += 1; ++i; } goto while_loop:
double형을 int 형으로 출력하면? (0) | 2009.05.15 |
---|---|
전처리기를 이용한 디버깅용 선언문(#define) (0) | 2009.05.15 |
sizeof() 는 언제 계산될까? (0) | 2009.04.22 |
int main(int argc, char *argv[]) 에 대한 짧은 이야기 (3) | 2009.03.24 |
c언어에는 cp() 가 없다? (0) | 2009.03.16 |
왕푸징(왕부정) 거리 지표 (0) | 2009.05.10 |
---|---|
3박 4일 중국 가족여행 (8) | 2009.05.05 |
내가 상담을 해줘도 되는건가? (5) | 2009.03.02 |
롯데리아에 새로 나온 한우버거 (8) | 2009.03.01 |
헬리콥터 저공비행 (1) | 2009.03.01 |
직장일기 - 20090507 - 간만에 정전 좀 시켰다! (4) | 2009.05.07 |
---|---|
출근일기 - 20090430 (2) | 2009.04.30 |
예비군 보충훈련 통지서.. 택배로 받다 & 400회 기념 (0) | 2009.04.26 |
회사원들의 몸의 70%는 물 30%는 커피로 이루어져있다? (3) | 2009.04.23 |
리퍼러를 참조하다가 멋진 글을 발견했습니다.. OTL (4) | 2009.04.22 |
///////////////////////////////////////////////////////////////////////////// // Creation 30/12/2003 // // // JPG2BMP.C // --------- // // // Sylvain MARECHAL - sylvain.marechal1@libertysurf.fr ///////////////////////////////////////////////////////////////////////////// // // Convert a jpg to a bmp file // look at jpeg-6b/djpeg.c for more details // ///////////////////////////////////////////////////////////////////////////// #include "cdjpeg.h" /* Common decls for cjpeg/djpeg applications */ #include "jversion.h" /* for version message */ #include "ctype.h" /* to declare isprint() */ #ifdef USE_CCOMMAND /* command-line reader for Macintosh */ #ifdef __MWERKS__ #include "sioux.h" /* Metrowerks needs this */ #include "console.h" /* ... and this */ #endif #ifdef THINK_C #include "console.h" /* Think declares it here */ #endif #endif #include "jpg2bmp.h" /* for version message */ /* Create the add-on message string table. */ /* #define JMESSAGE(code,string) string , static const char * const cdjpeg_message_table[] = { #include "cderror.h" NULL }; */ //#define MAIN #ifdef MAIN // The test program int main( int argc, char * argv[] ) { if( argc != 3 ) { printf( "Usage : %s [file_in.jpg] [file_out.bmp]\n" ); return 1; } return Jpg2Bmp( argv[1], argv[2] ); } #endif int Jpg2Bmp( char * pszJpgFile, char * pszBmpFile ) { struct jpeg_decompress_struct cinfo; struct jpeg_error_mgr jerr; djpeg_dest_ptr dest_mgr = NULL; FILE * input_file; FILE * output_file; JDIMENSION num_scanlines; /* Initialize the JPEG decompression object with default error handling. */ cinfo.err = jpeg_std_error(&jerr); jpeg_create_decompress(&cinfo); /* Add some application-specific error messages (from cderror.h) */ // jerr.addon_message_table = cdjpeg_message_table; jerr.first_addon_message = JMSG_FIRSTADDONCODE; jerr.last_addon_message = JMSG_LASTADDONCODE; /* Open the input file. */ if ((input_file = fopen(pszJpgFile, READ_BINARY)) == NULL) { return -1; } /* Open the output file. */ if ((output_file = fopen(pszBmpFile, WRITE_BINARY)) == NULL) { return -1; } /* Specify data source for decompression */ jpeg_stdio_src(&cinfo, input_file); /* Read file header, set default decompression parameters */ (void) jpeg_read_header(&cinfo, TRUE); /* Adjust default decompression parameters by re-parsing the options */ //file_index = parse_switches(&cinfo, argc, argv, 0, TRUE); /* Initialize the output module now to let it override any crucial * option settings (for instance, GIF wants to force color quantization). */ dest_mgr = jinit_write_bmp(&cinfo, FALSE); dest_mgr->output_file = output_file; /* Start decompressor */ (void) jpeg_start_decompress(&cinfo); /* Write output file header */ (*dest_mgr->start_output) (&cinfo, dest_mgr); /* Process data */ while (cinfo.output_scanline < cinfo.output_height) { num_scanlines = jpeg_read_scanlines(&cinfo, dest_mgr->buffer, dest_mgr->buffer_height); (*dest_mgr->put_pixel_rows) (&cinfo, dest_mgr, num_scanlines); } /* Finish decompression and release memory. * I must do it in this order because output module has allocated memory * of lifespan JPOOL_IMAGE; it needs to finish before releasing memory. */ (*dest_mgr->finish_output) (&cinfo, dest_mgr); (void) jpeg_finish_decompress(&cinfo); jpeg_destroy_decompress(&cinfo); /* Close files, if we opened them */ fclose(input_file); fclose(output_file); /* All done. */ return jerr.num_warnings ? -1 : 0; }
Gedit에 ctags 확장기능 추가하기 - Plugins (0) | 2009.05.06 |
---|---|
Gedit 옵션을 살펴보자! (0) | 2009.05.06 |
convert(1) - convert between image formats as well as resize an image (0) | 2009.04.28 |
addr2line을 이용한 Fixing up unaligned userspace access 추적 (0) | 2009.04.24 |
Fixing up unaligned userspace access (0) | 2009.04.24 |
For more information about the convert command, point your browser to file:///usr/share/doc/ImageMagick-6.2.8/www/convert.html or http://www.imagemagick.org/script/convert.php.
Run 'convert -help' to get a summary of the convert command options.
Gedit 옵션을 살펴보자! (0) | 2009.05.06 |
---|---|
libjpeg - Independent JPEG Group (0) | 2009.04.28 |
addr2line을 이용한 Fixing up unaligned userspace access 추적 (0) | 2009.04.24 |
Fixing up unaligned userspace access (0) | 2009.04.24 |
GTK_IM_MODULE을 이용하여 기본 IM을 설정하자(default Input Method) (0) | 2009.04.15 |
ubuntu 내장 VNC 서버 - vino-server (0) | 2009.04.30 |
---|---|
삼바 설치하기 (0) | 2009.04.29 |
gnome-avrdude 컴파일하기 (6) | 2009.04.27 |
ubuntu와 fedora의 비교 (0) | 2009.04.26 |
Ubuntu에 VNC 설정하기 (0) | 2009.04.25 |