Beyka / Android-TiffBitmapFactory

MIT License
131 stars 46 forks source link

I used TiffSaver to create a tiff file with 3 png, but only one image in tiff file #44

Closed goouttoplayno closed 4 years ago

goouttoplayno commented 4 years ago

This is my code, and i can only find one image in the tiff file. java ArrayList<String> fileArray = new ArrayList<>(); fileArray.add("/sdcard/Pictures/edu.jpg"); fileArray.add("/sdcard/Pictures/beifeng.jpg"); fileArray.add("/sdcard/Pictures/tashigan.jpg"); for (int i = 0; i < fileCount; i++) { Bitmap bitmap = BitmapFactory.decodeFile(fileArray.get(i)); TiffSaver.SaveOptions options = new TiffSaver.SaveOptions(); options.compressionScheme = CompressionScheme.NONE; options.orientation = Orientation.LEFT_TOP; options.author = ""; options.copyright = ""; boolean saved = TiffSaver.saveBitmap(filePath + File.separator + fileName, bitmap, options); } Does some one also have this problem?

sorry for my poor English.