Android big image viewer

Android big image viewer

Краткое описание:
Просмотр многих типов изображений.

Описание:
На N1 работает на пятёрку! В отличии от Animated GIF Player и сенс-галереи воспроизводит gif до бесконечности, то есть не в один цикл, а повторяя его.

Fast Image Viewer — простая в использовании программа для просмотра изображений, которая поддерживает широкий спектр форматов изображений, включая:
TIFF (TIF) — простые и многостраничные, (Uncompressed, Packbits, LZW, JPEG, Huffman, G31D, G32D, G4, Flate, Planar)
BMP (Windows, OS/2, RLE)
CALS (type 1)
JEDMICS C4 (US Military Images)
GIF (анимацию в зрителя и браузер)
FLI / FLC (анимация в просмотрщике и файловом браузере)
PNG (все)
JPEG (baseline, progressive)
PCX, DCX (мультистраничные PCX)
Targa (uncompressed, RLE)
QuickLinks FAX
Microsoft Fax (*. AWD)
WinFAX
BitFAX
PDF — (только сканированные изображения типа факсов, не текстовые и не векторная графика. Это полезно, если вы знаете, что ваш PDF-файл содержит отсканированные изображения, потому что FIV может просматривать и перемещаться по ним гораздо быстрее, чем другие PDF-просмотрщики)

Программа включает в себя файловый браузер с отображением больших иконок файлов и детальной информацией (длинным нажатием на имя файла можно установить его в качестве обоев рабочего стола);

FIV отлично подходит для просмотра больших черных и белых отсканированных изображений. Уникальная технология позволяет очень быстро декодировать и приводить изображения в читаемый сглаженный вид. Для перехода между страницами/файлами даже на слабо-мощных телефонах требуются миллисекунды.

FIV поддерживает анимированные GIF и FLI/FLC. Смотрите ваши файлы с анимацией в браузере файлов и на главном экране. Навигация при помощи жестов и зума (технология pinch-to-zoom). FIV может просматривать практически любой образ.

Дружественный графический интерфейс позволяет быстро перемещаться между страницами/файлами простыми жестами.

Используйте FIV как автономный файловый браузер изображений по-умолчанию для вложений электронной почты и т.д.

FIV способен просматривать каротажные диаграммы быстрее, чем любое другое программное обеспечение, такие диаграммы как маслянистость/газ/вода. FIV может открыть скан-файл аж до 80х300 дюймов (разрешение 400dpi).

Разрешение READ_SMS необходимо для отображения MMS изображений.
Разрешение на доступ в ИНТЕРНЕТ нужно для показа рекламных объявлений.
EXTERNAL_STORAGE разрешение надобно при открытии файлов-вложений, которые приходят из «потоков» (например, почта Gmail). В противном случае, никаких временных файлов FIV не создаёт.

Если у вас есть поддерживаемый файл образа, который не отображается правильно, пожалуйста, отправьте его на [email protected]

Доступна платная версия, свободная от рекламы.

Вам необходимо индивидуальное решение для Android? Хотели бы Вы видеть логотип вашей компании/брендинг на продукт? Свяжитесь с нами для дополнительной информации ([email protected])

версия: 2.4.6 Fast Image Viewer (Пост pyshnyi #40068100)
версия: 2.2.9 free (т.е. с рекламой) Fast Image Viewer (Пост #29239757)
Fast Image Viewer (Пост Alex0047 #39000454)
версия: 2.2.6 Fast Image Viewer (Пост #27253170)
версия: 2.0.6 Full русская (Пост #12837368)
версия: 2.1.3 http://4pda.to/forum/dl/post/2663630/FastImageViewer.apk
версия: 2.0.6 Full fiv206.apk
версия: 1.9.1 Full http://4pda.to/forum/dl/post/1552368/Fast_Image_Viewer_1.9.1_FULL.apk
версия: 1.9.0 Rus http://4pda.to/forum/dl/post/1438281/Fast_Image_Viewer_Free_37.apk
версия: 1.8.0 Rus Fast Image Viewer (Пост #10788100)
версия: 1.8.0 com.tdfsoftware.fivfree_1.8.0.apk ( 566.68 КБ )

версия: 1.7.0 + 1.7.0 Rus Fast Image Viewer (Пост #9953608)
версия: 1.6.2 Rus Fast Image Viewer (Пост #9940249)
версия: 1.6.2 http://4pda.to/forum/dl/post/1271897/Fast_Image_Viewer_Free_31.apk
версия: 1.6.1 Rus Fast Image Viewer (Пост #9867014)
версия: 1.5.2 Rus Fast Image Viewer (Пост #9513263)
версия: 1.5.2 http://4pda.to/forum/dl/post/1224408/com.tdfsoftware.fivfree_1.apk
версия: 1.4.6 com.tdfsoftware.fivfree_1.4.6.apk ( 413.92 КБ )

com.tdfsoftware.fivfree_1.4.4.apk ( 413.98 КБ )
com.tdfsoftware.fivfree_1.2.4.apk ( 361.92 КБ )

Сообщение отредактировал Kyogre — 07.10.15, 23:41

Синтаксическая ошибка. Huawei U8230 (2.1-update1 life by) .

PS. пока писал внесли поправку.

Сообщение отредактировал Batian1 — 09.05.11, 14:11

Источник

Android big image viewer

Странно, у меня всё отображается отлично, повороты в портретный/ландшафтный режимы тоже работают без проблем (во всех режимах — и браузер папок и сам режим просмотра картинок).
Конечно, в старых версиях были глюки (например, в 06 их было немало), но последние две версии лично у меня работали просто отлично, да и в маркете на последние версии жалоб на подобные глюки не заметил. Может быть просто программа не со всеми коммуникаторами дружит.

Читайте также:  Как определить местоположения по gps для андроида

Сообщение отредактировал Nix80 — 20.11.10, 21:30

Снова загружаю с маркета.Пробую.

Наконец то свершилось.Просмотрел около 200 картинок и белого экрана не увидел.Доволен)
Работает шустро.Жаль что нет возможности удалять файлы в режиме навигации по папкам и нет зума.
Еще игнорирует параметр .nomedia не есть хорошо.
Вопщем программа очень неплоха, но еще есть куда стремится)
ЗЫ Picture Viewer снес=)

Сообщение отредактировал arhangel_87 — 20.11.10, 22:01

Версия 13 image.viewer.apk ( 77.34 КБ )

Recent changes:
— add back navigation bar
— add setting to hide navbar
— Вернули обратно навигационный бар
— Добавлена настройка отключения навигационного бара

Сообщение отредактировал arhangel_87 — 21.11.10, 10:26

arhangel_87, спасибо, добавил в шапку. Всё-таки оперативность апдейтов радует всё больше =)
Правда изменения небольшие (вернули опционально включающуюся строку навигации), но она тут очень кстати.

Сообщение отредактировал Nix80 — 22.11.10, 14:49

И не надо. Купил я его, написал разгромный комментарий. Автор отписался, типа, зачем ругаешься, насяльника. Я все выложил. Он обещал исправить. Думаю, ну ладно, раз такой ответственный, куплю прогу еще раз потестирую, а он все исправит. С того момента ни одного исправления, а прошло уже несколько месяцев.

А эта прога зачетнейшая. На кастомах без сенса не хватало нормального вьюера. Теперь держу параллельно со стандартным. Им (стандартным от htc) вроде удобнее пользоваться, но картинки масштабирует неполноценно. А этот уже и по удобству к htc приближается. Браво!

individuuum, насчёт пролистывания — да, есть такое (причем в старой v.06, пролистывание вроде было нормальное, не знаю почему автор решил сменить его — мог бы например просто сделать в опциях и тот и другой вариант), хотя со временем привыкаешь 🙂

efanor, какое совпадение, я тоже давно его еще хотел выложить, но не знал, как скриншоты без рута делать.. вот как только узнал, сразу и выложил :))

khar-selim, спасибо за инфу про PiQu, а то я ради эксперимента её уже подумывал в будущем прикупить (3 бакса вроде. Кстати, раньше была бесплатная ознакомительная версия, но потом жадный разраб её убрал), т.к. на скриншотах она смотрелась очень хорошо, но вот половина отзывов не особо радовала, поэтому в сомнениях был — купить, не купить?
Тогда лучше сэкономлю эти 3 бакса на что-нибудь подостойнее 🙂
А прога да, хорошая.. лично для меня пока самая лучшая. И уж в разы лучше моей дефолтной gallery 3d, т.к. она и тормозная (причем это касается и медленной скорости загрузки thumbnail`ов, а для меня это важно. Причем это не исправили даже в прошивке 2.2) и с какой-то рандомной сортировкой папок и файлов, что было просто дико неудобно, т.к. если у тебя штук 25 папок с картинками/фотками, приходилось иногда подолгу искать нужную, поэтому почти сразу стал искать альтернативные вьюверы 🙂

Источник

Android big image viewer

Big image viewer supporting pan and zoom, with very little memory usage and full featured image loading choices. Powered by Subsampling Scale Image View, Fresco, Glide, and Picasso. Even with gif and webp support!

pan and zoom gif support

Add the dependencies

Note: please put this download url at the first of your repositories part, otherwise, gradle may search in wrong place.

Note that if you’ve already used Fresco in your project, please change Fresco.initialize into BigImageViewer.initialize .

Add the BigImageView to your layout

You can disable display optimization using optimizeDisplay attribute, or BigImageView.setOptimizeDisplay(false) , which will disable animation for long image, and the switch between thumbnail and origin image.

Animated image support

Since 1.5.0, BIV support display animated image, e.g. gif and animated webp, to achieve that, you need set a custom ImageViewFactory via biv.setImageViewFactory :

Node: if the image is not gif or animated webp, then it will be displayed by SSIV, the image type is not determined by its file extension, but by its file header magic code.

To show a thumbnail before the big image is loaded, you can call below version of showImage :

Note: make sure that you have already called setImageViewFactory .

Shared element transition support (experimental)

Since 1.6.0, BIV has experimental support for shared element transition, but it has following known issues:

  • The shared image may flicker during enter transition, or become white after return transition, when using Fresco, see Fresco issue #1445;
  • The shared image may flicker after return transition, especially after you zoomed SSIV;

You can play with the demo app to evaluate the shared element transition support.

Download progress indicator

There is one built-in indicator, ProgressPieIndicator , you can implement your own indicator easily, learn by example.

You can prefetch images in advance, so it could be shown immediately when user want to see it.

Save image into gallery

Get current image file

Image init scale type

You can set the normal image scale type using initScaleType attribute, or setInitScaleType .

value effect
center Center the image in the view, but perform no scaling.
centerCrop Scale the image uniformly (maintain the image’s aspect ratio) so that both dimensions (width and height) of the image will be equal to or larger than the corresponding dimension of the view (minus padding). The image is then centered in the view.
centerInside Scale the image uniformly (maintain the image’s aspect ratio) so that both dimensions (width and height) of the image will be equal to or less than the corresponding dimension of the view (minus padding). The image is then centered in the view.
fitCenter Scales the image so that it fits entirely inside the parent. At least one dimension (width or height) will fit exactly. Aspect ratio is preserved. Image is centered within the parent’s bounds.
fitEnd Scales the image so that it fits entirely inside the parent. At least one dimension (width or height) will fit exactly. Aspect ratio is preserved. Image is aligned to the bottom-right corner of the parent.
fitStart Scales the image so that it fits entirely inside the parent. At least one dimension (width or height) will fit exactly. Aspect ratio is preserved. Image is aligned to the top-left corner of the parent.
fitXY Scales width and height independently, so that the image matches the parent exactly. This may change the aspect ratio of the image.
custom Scale the image so that both dimensions of the image will be equal to or less than the maxScale and equal to or larger than minScale. The image is then centered in the view.
start Scale the image so that both dimensions of the image will be equal to or larger than the corresponding dimension of the view. The top left is shown.

Note: SSIV only support centerCrop, centerInside, custom and start, other scale types are treated as centerInside, while other scale types may be used by animated image types.

You can set a local failure image using failureImage attribute, or setFailureImage .

It will displayed using an ImageView when the image network request fails. If not specified, nothing is displayed when the request fails.

Failure image init scale type

You can set the failure image scale type using failureImageInitScaleType attribute, or setFailureImageInitScaleType .

Any value of ImageView.ScaleType is valid. Default value is ImageView.ScaleType.FIT_CENTER . It will be ignored if there is no failure image set.

When failure image is specified, you can tap the failure image then it will retry automatically. That’s the default behavior, you can change it using tapToRetry attribute, or setTapToRetry .

Image load callback

You can handle the image load response by creating a new ImageLoader.Callback and overriding the key callbacks

Then setting it as the image load callback

The onSuccess(File image) is always called after the image was retrieved successfully whether from the cache or the network.

For an example, see ImageLoaderCallbackActivity.java

Cancel image loading

BIV will cancel image loading automatically when detach from window, you can also call cancel to cancel it manually.

You can also call BigImageViewer.imageLoader().cancelAll(); in an appropriate time, e.g. Activity/Fragment’s onDestroy callback, to cancel all flying requests, avoiding memory leak.

You can get the SSIV instance through the method below:

Then you can do anything you can imagine about SSIV 🙂

Note: you should test whether SSIV is null, because the image could be a gif, then it won’t be displayed by SSIV.

Custom SSIV support

You can even use your own custom SSIV, by calling biv.setImageViewFactory() , passing in a factory that override createStillImageView , and return your custom SSIV.

Custom Glide components support

You can use your custom Glide’s components. If you have customized your Glide’s configuration, you are able to apply that configuration to BIV too, to do that you only have to initialize BIV in this way:

Where CustomComponentModel.class is the Glide’s model component. That’s it!

For more detailed example, please refer to the example project.

Handle permission when you want to save image into gallery.

When you want load local image file, you can create the Uri via Uri.fromFile , but the path will be url encoded, and may cause the image loader fail to load it, consider using Uri.parse(«file://» + file.getAbsolutePath()) .

When using with RecyclerView or ViewPager, the recycled BIV doesn’t know it should clear the loaded image or reload the image, so you need manually notify it in some way, see issue 107, and issue 177.

Crash on Android 4.x device? You could force gradle to use a specific version of OkHttp (some version earlier than 3.13.0), by adding this block to your module’s build.gradle, please note that it should be added at the top level, not inside any other block:

Why another big image viewer?

They both support pan and zoom. PhotoDraweeView and FrescoImageViewer both use Fresco to load image, which will cause extremely large memory usage when showing big images. Subsampling Scale Image View uses very little memory, but it can only show local image file.

This library show big image with Subsampling Scale Image View, so it only uses very little memory. And this library support using different image load libraries, so it’s full featured!

If you are interested in how does this library work, you can refer to this issue, and Subsampling Scale Image View.

Memory usage of different libraries:

PhotoDraweeView FrescoImageViewer BigImageViewer
4135*5134 80MB 80MB 2
  • GlideImageLoader
  • Save image file to gallery
  • Optimize long image showing effect, thanks for razerdp
  • Optimize «double tap to zoom» effect, thanks for razerdp
  • Loading animation
  • Downloading progress
  • Thumbnail support
  • Component to display image list, with memory optimization
  • Fail image
  • Retry when fail
  • PicassoImageLoader, track this issue

Those features are offered by image load libraries, and they should be easy to implement, but I don’t have enough time currently. So your contributions are welcome!

When you submit PR, please conform the code style of this project, which is customized from Square Android style.

About

Big image viewer supporting pan and zoom, with very little memory usage and full featured image loading choices. Powered by Subsampling Scale Image View, Fresco, Glide, and Picasso. Even with gif and webp support! 🍻

Источник

Читайте также:  Как обновить android smart
Оцените статью