Mantis Bugtracker

Простой вид комментарии ] расширенный вид ] история ] печать ]
Номер Категория Серьезность Воспроизводимость Создан Изменен
0000138 [obex-data-server] BIP малая неприменима 2008-10-04 04:54 2008-10-17 19:59
Инициатор hadess Видимость общая  
Ответственный skirsdeda
Приоритет обычный Решение решен  
Состояние закрыт   Версия продукта
Суть 0000138: Use gdk-pixbuf for BIP support
Подробности Attached patch is a first try at using gdk-pixbuf for image manipulation.

The Fedora LiveCD is running about 20 megs too big, and ImageMagick is dragged in by obex-data-server, and that takes 27 megs. gdk-pixbuf is already present as this LiveCD uses GNOME.

It will, by default, try to use either ImageMagick, then gdk-pixbuf, or disable support completely if none of those are found (I should probably make it error out if none of those are found, and "no BIP support" isn't passed, right?)

Couple of questions though:
- What's the "encoding" supposed to be, and look like? ("jpeg", or "image/jpeg")
- Which "encodings" are supposed to be supported?
- What's the ODS_IMAGING_TRANSFORMATION_FILL supposed to do?
Дополнительные сведения
Tэги Нет прикрепленных тэгов.
Вложенные файлы ? file icon ods-gdk-pixbuf.patch [^] (11,404 bytes) 2008-10-04 04:54
? file icon ods-gdk-pixbuf-2.patch [^] (12,360 bytes) 2008-10-04 18:16
? file icon ods-gdk-pixbuf-3.patch [^] (12,281 bytes) 2008-10-04 18:17

- Связи

-  Комментарии
(0000427)
skirsdeda (администратор)
2008-10-04 17:18

encoding is supposed to be like: JPEG, PNG, GIF, BMP, WBMP, JPEG2000 (from BIP spec). JPEG must be supported, all the others are optional.

TRANSFORMATION_FILL is one of image transformations used in BIP. When new image size is bigger than original and fill transformation is used, original image is drawn unchanged (at pixels 0,0) and all the remaining space is filled with a predefined color (ODS_IMAGING_FILL_COLOR).
(0000429)
hadess (инициатор)
2008-10-04 18:17

Got the specs myself, and implement the rest of the functionality. Obviously not tested as I don't have any hardware, but it should work...
(0000430)
hadess (инициатор)
2008-10-04 18:18

3rd patch makes sure that we set the original image at 0,0 when using the fill transformation.
(0000431)
skirsdeda (администратор)
2008-10-04 18:46

I'll test those patches ASAP. Thanks for the hard work.
(0000432)
skirsdeda (администратор)
2008-10-05 19:47

Applied in svn revision 1997.

- история
Дата изменения Пользователь Поле Изменение
2008-10-04 04:54 hadess Новый вопрос
2008-10-04 04:54 hadess Файл добавлен: ods-gdk-pixbuf.patch
2008-10-04 15:00 hadess Отслеживать: hadess
2008-10-04 17:18 skirsdeda Комментарий добавлен: 0000427
2008-10-04 17:33 skirsdeda Целевая версия => 0.4
2008-10-04 18:16 hadess Файл добавлен: ods-gdk-pixbuf-2.patch
2008-10-04 18:17 hadess Комментарий добавлен: 0000429
2008-10-04 18:17 hadess Файл добавлен: ods-gdk-pixbuf-3.patch
2008-10-04 18:18 hadess Комментарий добавлен: 0000430
2008-10-04 18:46 skirsdeda Комментарий добавлен: 0000431
2008-10-05 19:47 skirsdeda Комментарий добавлен: 0000432
2008-10-05 19:47 skirsdeda Состояние новый => отработан
2008-10-05 19:47 skirsdeda Решен в версии => 0.4
2008-10-05 19:47 skirsdeda Решение открыт => решен
2008-10-05 19:47 skirsdeda Ответственный => skirsdeda
2008-10-17 19:59 skirsdeda Состояние отработан => закрыт


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker