일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- kmip
- MYSQL
- 앱리소스
- albumbook
- 인증
- MSYS2
- Nodejs
- Android
- SSH
- SWIFT
- OTP
- css
- Xcode
- appres
- OSX
- MFA
- 안드로이드
- 2FA
- git
- otpkey
- WebAuthn
- apple
- SwiftUI
- SSL
- 앱스토어
- FIDO2
- 애플
- 앨범북
- fido
- openssl
Archives
- Today
- Total
목록bitmap (1)
인디노트
안드로이드 Bitmap Utility(resize, crop) 클래스
import android.graphics.Bitmap; /** * BitmapUtil Class * * @Author : mcsong@gmail.com * @Date : Mar 11, 2012 9:59:18 AM * @Version : 1.0.0 */ public class BitmapUtil { /** * Bitmap을 ratio에 맞춰서 max값 만큼 resize한다. * * @param src 원본 * @param max 원하는 크기의 값 * @return */ public static Bitmap resizeBitmap(Bitmap src, int max) { if(src == null) return null; int width = src.getWidth(); int height = src.ge..
소스 팁/Java, Android, Kotlin
2016. 11. 12. 16:11