Solved

OpenPictureDialog1 Problem

Posted on 2000-03-13
4
392 Views
Last Modified: 2008-02-01
Hey Gang,

I'm using OpenPictureDialog1 in my application.  Everything is great except, when I select a ".GIF" file, I get the error "Unrecognized image file" error.  In the filter property, it offers ".GIF" image file format.  What am I doign wrong or can someone tell me how to get around this problem.

Thanks,
Chad
0
Comment
Question by:dhertzfe
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 13

Expert Comment

by:Epsylon
ID: 2614429
Sorry, but there's no gif support in Delphi, even for the previewer in TOpenPictureDialog.
0
 

Author Comment

by:dhertzfe
ID: 2614553
Can you recommned a 3rd party component that will support GIFs?  I need a open dialog that allows the preview.  My last resort will be to write one myself.

Thanks
0
 
LVL 17

Accepted Solution

by:
inthe earned 50 total points
ID: 2614583
hi,
the only way is to download gifimage from here:
www.melander.dk/delphi/gifimage
and add to your uses section "gifimage"
now the openpicturedialog will preview gif's.
same if you want jpeg support you would add jpeg to your uses section.
(if you have installed a jpeg unit that is.)

Regards Barry
0
 

Author Comment

by:dhertzfe
ID: 2614616
Hi InThe,

I loaded 1stClass component which had the fcImager1 and my problem was solved. I'm sure the gifimage product will do the same.  I have downloaded gifimage and give it a try.

Thanks,
Chad
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question