Solved

OpenPictureDialog1 Problem

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Using idhttp to login to instagram 2 118
Dev Express grid collapse 2 47
Why can't I create any project with my delphi EXE file? 6 45
Adoquery sql  left join does not work 25 104
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 Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

756 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