Solved

OpenPictureDialog1 Problem

Posted on 2000-03-13
4
377 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
  • 2
4 Comments
 
LVL 13

Expert Comment

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

Author Comment

by:dhertzfe
Comment Utility
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
Comment Utility
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
Comment Utility
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

763 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now