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?
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.