Solved

OpenPictureDialog1 Problem

Posted on 2000-03-13
4
383 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
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…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

895 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

13 Experts available now in Live!

Get 1:1 Help Now