static void Main(string[] args) { Bitmap bmp = new Bitmap("d:/tmp/screenshot.png"); Bitmap gray; Stopwatch sw = new Stopwatch(); sw.Start(); gray = ColorToGrayscale(bmp); sw.Stop(); gray.Save("d:/tmp/screenshot_gray.png"); Console.WriteLine(sw.Elapsed.TotalMilliseconds); Console.ReadKey(); } /// /// Converts a bitmap into an 8-bit grayscale bitmap /// public static Bitmap ColorToGrayscale(Bitmap..
다음은 make 에 의해서 생성될 수 있는 가장 일반적인 에러들의 리스트이며 그것들이 의미하는 바와 그것들을 고치는 방법에 대한 정보이다. 때때로 make 에러들은, 특별히 명령 스크립트 라인에서 - 접두사가 있을 때나 명령 라인 옵션으로써 -k 가 있을 때, 치명적인 것이 아니다. 치명적인 에러들은 *** 문자열이 그 앞에 붙는다. 에러 메시지들은 모두 프로그램(보통 `make’)의 이름이 앞에 붙거나, 에러가 makefile 안에 있는 것이라면 문제를 담고 있는 파일과 라인넘버가 앞에 붙는다. 아래 테이블에서 이런 공통 접두사들이 빠져있다. `[foo] Error NN‘ `[foo] signal description‘ 이런 에러들은 실제로 make 에러들이 전혀 아니다. 그들은 make 가 명령 스크..
MC_GrpFrameBuffer MC_grpGetScreenFrameBuffer(M_Int32 i); typedef M_Int32 MC_GrpFrameBuffer; 0: 내부 프레임버퍼 1: 외부 프레임버퍼 #define MC_GRP_GET_FRAME_BUFFER_POINTER(a) 프레임버퍼 주소값 알아오는 메크로 MC_GrpFrameBuffer screenBuffer; void *screenBufferPtr; screenBuffer = MC_grpGetScreenFrameBuffer(0); screenBufferPtr = (void*)MC_GRP_GET_FRAME_BUFFER_POINTER(screenBuffer); 기타 프레임버퍼 정보 알아오는 메크로 #define MC_GRP_GET_FRAME_B..
---------------------------------------------------------------------------- // ..... 주석 기호 /* ..... */ 주석 기호 ---------------------------------------------------------------------------- \r // 리턴 코드 (ASC 13) \n // 줄바꿈 코드 (ASC 10) \r\n // 줄바꿈 코드 (2줄) \t // Tab 코드 (ASC 9) \b // Backspce 코드 (ASC 8) & // text 파일 데이타 구분 코드 ---------------------------------------------------------------------------- 산..
Microsoft Virtual Machine The Microsoft Java Virtual Machine is no longer available from Microsoft directly due to legal wrangling with SUN, however it still can be downloaded... Microsoft VM build 3805 for Windows XP, Windows 2000, Windows 95/98, Windows Me, Windows NT 4.0. 5.4 MB Java Virtual Machine download link: Steps to install the Microsoft Virtual Machine: Download the file using the lin..
WIPI JAVA 에서 HandsetProperty.getSystemProperty(); WIPI C 에서 l MH_sysGetInformation 설명 이 함수는 단말기의 시스템 정보를 얻어오는 함수이다. 반환할 값이 정수일 때는 10진수 string으로 변환하여 버퍼를 통하여 반환한다. 제조사나 이통사가 플랫폼에서 정의되지 않은 정보를 확장하고 싶은 경우, command값을 추가하여 확장한다. 함수 사용 예) M_Char buf[16]; MH_sysGetInformation(”ESN”, buf, sizeof(buf)); 프로토타입 M_Int32 MH_sysGetInformation (M_Char* command, M_Char* buf, M_Int32 bufSize) 매개 변수 [in] command ..
/* * Copyright 1999-2002,2004 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distr..
package net.me2day.java.util; /* * @(#)BASE64.java * * Copyright (c) 2001-2002, JangHo Hwang * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaime..
True Type font 미국 애플 컴퓨터 회사가 개발한 윈도용 윤곽선 글꼴. 화면에 나타나는 글꼴과 인쇄 글꼴이 같으므로 전자 출판에 유용하다. 매킨토시와 윈도 운영 체계에서 널리 사용되며, 폰트를 다시 포맷하지 않고도 다른 시스템이나 인쇄기로 자신의 문서를 인쇄할 수 있다. 마이크로소프트사는 애플 컴퓨터 회사와 제휴하여 윈도 3.1에서 더욱 개선된 트루 타입 폰트를 적용했다. Open Type font 인터넷 출판 분야의 공략을 목적으로 Adobe사가 마이크로소프트와 트루타입 폰트의 내부에 자사의 포스트스크립트 폰트를 넣는 형식의 오픈타입을 만들었다. 이 오픈타입은 고도의 압축기술로 인해 파일 사이즈를 더 작게 만들어서 배포의 용이함과 동시에 인터넷 환경에서 사용하기에 적합하도록 구현되었으며, 다양..
BOM (Byte-Order Mark) BOM이란 U+FEFF의 값을 갖는 유니코드 문자로 문서에 저장된 내용이 UTF-16이나 UTF-32 인코딩에서 어떤 바이트 순서로 저장되는지 그리고 UTF-8, UTF-16, UTF-32 방식 중 어느 방식으로 인코딩되어 있는지 표시하기 위해 쓰인다. [2] BOM은 문서 가장 처음에 기록되어서 문서를 읽는 프로그램 (에디터 등)이 이하 문서 내용에 사용된 인코딩 방식을 자동적으로 인식하게 한다. 표 1: BOM 표시 방법 (참고문헌 [1]에서 인용) 인코딩 표시 방법 (16진수) UTF-8 EF BB BF UTF-16 Big Endian FE FF UTF-16 Little Endian FF FE UTF-32 Big Endian 00 00 FE FF UTF-32 ..
WMA 2.0과 Push Registry MIDP 2.0의 push registry는 MIDlets가 사용자의 개시(initiation) 없이 자동으로 론치되도록 스스로를 설정할 수 있게 해줍니다. 즉, push registry가 네트워크/타이머에 의한 MIDlet 활성화를 관리하는데, 다시 말해 인바운드 네트워크 커넥션 또는 타이머 기반 경보가 잠자고 있던 MIDlet을 깨워주는 것이라고 생각하시면 됩니다. 기본 구현이 필요한 지원을 제공할 경우, MIDlets는 들어오는 WMA 커넥션에 의해 활성화될 수 있습니다. MIDlets가 활성화되려면 반드시 먼저 정적 또는 동적 등록 방식을 이용하여 push registry에 등록해야 합니다. 정적 등록은 JAD 또는 MANIFEST 파일 내에 MIDlet-..
[IMEI ] 란? 전 지구적 이동 통신 시스템(GSM) 이동 단말기가 서로를 고유하게 식별할 수 있도록 이동 단말기에 할당된 식별 번호. 이 번호는 형식 승인 코드, 최종 조합 코드 및 일련 번호를 포함하여 15자리로 구성된다. 국제 이동 단말기 식별 번호 [國際移動端末機識別番號, International Mobile Equipement Identity] How to get IMEI in Java ME The retrieval of IMEI number from Java ME is possible only in certain phones. In some cases it is possible only if the application is signed. In Nokia phones you can get ..
http://wiki.forum.nokia.com/index.php/Java_ME_FAQ Java ME FAQ From Forum Nokia Wiki This article contains the most frequently asked questions on the Java Discussion Boards. Many important pieces of information that can help you solve the most basic/recurrent problems when developing in Java ME. As it represents official Nokia answers, it can be only edited by Forum Nokia Technology Experts. This..
Supported Encodings The classes java.io.InputStreamReader, java.io.OutputStreamWriter, and java.lang.String can convert between Unicode and a number of other character encodings. The supported encodings vary between different implementations of the Java 2 platform. The java.lang package specification lists the encodings that any implementation of the Java 2 platform, Standard Edition, v. 1.3 is ..
Generic Errors KErrNone 0 KErrNotFound -1 Unable to find the specified object KErrGeneral -2 General (unspecified) error KErrCancel -3 The operation was cancelled KErrNoMemory -4 Not enough memory KErrNotSupported -5 The operation requested is not supported KErrArgument -6 An argument is out of range KErrTotalLossOfPrecision -7 This error arises when converting from an internal 96-bit real repre..
GRAPHICS INTERCHANGE FORMAT(sm) Version 89a (c)1987,1988,1989,1990 Copyright CompuServe Incorporated Columbus, Ohio Cover Sheet for the GIF89a Specification DEFERRED CLEAR CODE IN LZW COMPRESSION There has been confusion about where clear codes can be found in the data stream. As the specification says, they may appear at anytime. There is not a requirement to send a clear code when the string t..
Introduction to Graphics Programming using WFC The display of graphical objects in Microsoft Windows occurs through the graphics device interface (GDI), a device-independent graphics output model that processesgraphical function calls from a Windows-based application and passes those calls to theappropriate device driver. The driver performs the hardware-specific functions thatgenerate output. B..
http://www.borg.com/~jglatt/tech/midifile.htm Preface Intro What's a chunk? MThd chunk MTrk MTrk chunk Variable Length Quantities Events in an MTrk Meta-Events in an MTrk Sequence Number Text Copyright Sequence/Track Name Instrument Lyric Marker Cue Point Program (Patch) Name Device (Port) Name End of Track Tempo SMPTE Offset Time Signature Key Signature Proprietary Event Errata Tempo and Timeba..
- Total
- Today
- Yesterday
- XBOX360
- LockInfo
- 우분투
- Cydia
- 기어스오브워2
- kext
- iPhone
- 한글2008
- WeatherWidget
- 테일즈 오브 베스페리아
- Mac
- theme
- 두바이
- java
- 아이폰
- awn
- ALC888
- 청용
- BigbusTour
- VirtualBox
- euro2008
- ubuntu
- suave
- 10.5.8
- iOS4.0
- J2ME
- Lee Chung Yong
- kext helper
- java vm
- MaskFilterEffect
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |