Версия для печати темы
Нажмите сюда для просмотра этой темы в оригинальном формате
Форум программистов > C++ Builder > Работа с форматами tiff и png


Автор: sonyamf 14.4.2006, 15:44
Пишу программу для работы с изображениями. Сейчас программа работает только с bmp и jpg форматом, так как в работе с ними нет ничего сложного. Хотелось поработать с другими известными форматами. Про gif я нашла на форуме некоторые варианты, а вот как быть например, с tiff и png. Есть для них какие-нить библиотеки , компоненты? И ещё. Где взять (скачать) компонент TGIFImage?

Автор: _hunter 14.4.2006, 16:10
http://www.torry.net/quicksearchd.php?String=tiff&Title=Yes
http://pngdelphi.sourceforge.net/
http://www.torry.net/quicksearchd.php?String=TGIFImage&Title=Yes

Автор: sonyamf 14.4.2006, 16:36
_hunter, скачала с третьей ссылки TGifImage 2.2, exe файл. Как устанавливать его? Я запустила exe файл, создалась папочка gifimage в папке source CBuilder, а дальше что?
Просто я такие компоненты ещё не устанавливала, до этого приходилось по-другому делать.

Автор: _hunter 14.4.2006, 17:10
там же есть INSTALL.HTML
Цитата

From the Component menu select Install Component...

Specify gifimage.pas as the Unit file name.
If the gifimage unit isn't in the library search path, you can use the Browse button to specify where it is located.

Specify the package to add gifimage to in the Package file name field.
Unless you prefer another package, I recommend that you use the dclusr40.bpk package which is reserved for "User's Components".

When you close the "Install Component" dialog, the package will be recompiled and installed for you.
Please note that TGIFImage will not show up on your component palette since it is not a component. If this surprises you, you should read the FAQ again.

To verify that TGIFImage is now available at design time, you can create a new form, add a TImage component to it and click on the Picture property in the "Object Inspector".
The "Load Picture" dialog should now have a "GIF Image" file type and if you load a GIF file it should be displayed by the TImage component.

Finally, read the FAQ again.
It might also be a good idea for you to read the list of Known Problems.

Автор: VSergeyV 29.12.2007, 15:08
Цитата(sonyamf @  14.4.2006,  15:44 Найти цитируемый пост)
Есть для них какие-нить библиотеки , компоненты?


тоже интересует это вопрос, но не сторонние либы, т.е. только средства BDS либо WinAPI

необходимо отображать TIFF и JPEG и конвертить TIFF в JPEG

частично смотрел GDI+(отображение) и еще не смотрел ImgCtx, может что-то собсвенное BDS есть?

пишу под Borland® C++Builder® for Microsoft® Windows™ Version 10.0 Update 2

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)