Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#1611 アップロードイメージがリサイズされてない #15

Merged
merged 1 commit into from
Nov 9, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
#1611 アップロードイメージがリサイズされてない
  • Loading branch information
JangSungChul committed Nov 9, 2020
commit e0be9f707141678cc3d53c45b746f79aec3c290e
2 changes: 1 addition & 1 deletion src/ios/CameraViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ extension CameraViewController: AVCapturePhotoCaptureDelegate {
// 写真ライブラリに画像を保存 Debug用
UIImageWriteToSavedPhotosAlbum(resizedImage!, nil,nil,nil)

let data = compositeImage!.jpegData(compressionQuality: 1.0)
let data = resizedImage!.jpegData(compressionQuality: 1.0)
if let jpegData = data {
// let base64String = jpegData.base64EncodedString(options: .lineLength64Characters)
let timestamp = NSDate().timeIntervalSince1970
Expand Down