jpegWithExif — @gj-kit/expo-media
A public function from @gj-kit/expo-media/testing. The signature below is taken directly from the 0.6.1 release declaration.
Verified import example
Section titled “Verified import example”import { jpegWithExif } from '@gj-kit/expo-media/testing';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”/** * `EXIF_FIXTURE`와 **같은 값**을 담은 최소 JPEG(빅엔디언 'MM' TIFF). * * 구조: `SOI` → `APP1(Exif)` → `EOI`. 이미지 데이터가 없어도 파서에는 충분하다 — * `parseJpegExif`는 SOS(0xda) 이전 세그먼트만 훑기 때문이다. * * ⚠ 이 픽스처가 없으면 웹 업로드 경로(`mediaMetadataFromJpeg`)의 EXIF 추출은 **영영 유닛으로 * 검증되지 않는다** — 그 경로가 조용히 죽으면 촬영시각·위치가 영구 소실되고, 그것은 타입에도 * 테스트에도 잡히지 않는다(§5.3 머리말). */declare function jpegWithExif(): Uint8Array;This declaration is the source of truth for parameters, optionality, generics, return values, and public union/type contracts. Check the package golden path and this subpath’s import conditions for required environment, permission, and error boundaries before calling it.
Release context
Section titled “Release context”- Package:
@gj-kit/expo-media - Version:
0.6.1 - Public entry:
./testing - Source: GitHub