flutter_libraw 0.0.1 flutter_libraw: ^0.0.1 copied to clipboard
Flutter_libraw is a Dart/Flutter package that provides
example/flutter_libraw_example.dart
// Licensed to the Limeslice Software Foundation (LSF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The LSF licenses this file to You under the MIT License (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://limeslice.org/license.txt
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
import 'package:flutter_libraw/flutter_libraw.dart';
import 'dart:io';
void main() async {
libraryPath = './bin';
File file = File('test/samples/RAW_CANON_5D_ARGB.CR2');
RawFile rawFile = await RawFile.open(file);
print(rawFile.data.idata.make);
print(rawFile.data.idata.model);
print(rawFile.data.idata.rawCount);
print(rawFile.data.idata.colors);
}