* When does a Bitmap become an FH Icon

Questions regarding use of any Version of Family Historian. Please ensure you have set your Version of Family Historian in your Profile. If your question fits in one of these subject-specific sub-forums, please ask it there.
Post Reply
avatar
Gowermick
Megastar
Posts: 1632
Joined: 13 Oct 2015 07:22
Family Historian: V7
Location: Swansea

When does a Bitmap become an FH Icon

Post by Gowermick » 10 Mar 2017 16:18

I am experimenting with adding icons to diagrams, and liked the Census ones supplied by Bilko, but sadly Census1939 is missing.

Undaunted, I opened my Graphics program (GIMP) and created what I wanted by cutting and pasting from Census91 and Census31, and created a Census39.

Fine so far, everything on my PC recognises it as a Bitmap and displays it the same as all the other bitmaps from Bilko, but when I tried to assign it to a Diagram condition, FH says it can't recognise it.

Any ideas why?
Mike Loney

Website http://www.loney.tribalpages.com
http://www.mickloney.tribalpages.com

User avatar
LornaCraig
Megastar
Posts: 2996
Joined: 11 Jan 2005 17:36
Family Historian: V7
Location: Oxfordshire, UK

Re: When does a Bitmap become an FH Icon

Post by LornaCraig » 10 Mar 2017 16:32

What exactly does the message say? Is it saying it can't recognise the file type?
Or is the icon just not displaying properly in diagrams?

Does any of the following help? (from the FH Help pages)
Whatever colour appears in the top-left hand corner of the bitmap will be interpreted by Family Historian as transparent. So, for example, if the top-left corner is white, every white pixel in your bitmap will appear to be transparent when the icon is displayed in a diagram.

You can also choose the Size for icons. The choices are all given in dpi - that, is in dots per inch. When you increase the number of dots per inch, you effectively make the icon appear smaller when displayed in a diagram. Conversely, if you reduce the dpi the icons will get bigger, The default is 250 dpi. The minimum size value is 50 dpi.
Lorna

avatar
Gowermick
Megastar
Posts: 1632
Joined: 13 Oct 2015 07:22
Family Historian: V7
Location: Swansea

Re: When does a Bitmap become an FH Icon

Post by Gowermick » 10 Mar 2017 16:48

Jane,
See attached screenshot.
I did try and attach the Census31 and Census39 bitmaps, but forum won't allow.

Mike
Attachments
Diagram Option error.jpg
Diagram Option error.jpg (101.63 KiB) Viewed 7963 times
Mike Loney

Website http://www.loney.tribalpages.com
http://www.mickloney.tribalpages.com

avatar
Gowermick
Megastar
Posts: 1632
Joined: 13 Oct 2015 07:22
Family Historian: V7
Location: Swansea

Re: When does a Bitmap become an FH Icon

Post by Gowermick » 10 Mar 2017 16:52

Jane,
Attached is another screenshot from windows explorer, showing Census39.bmp quite happily alongside others in the icon directory. If windoes recognises it, why doesn't FH?
Attachments
Windows Explorer.jpg
Windows Explorer.jpg (19.8 KiB) Viewed 7961 times
Mike Loney

Website http://www.loney.tribalpages.com
http://www.mickloney.tribalpages.com

User avatar
tatewise
Megastar
Posts: 27088
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: When does a Bitmap become an FH Icon

Post by tatewise » 10 Mar 2017 17:40

BTW: That was Lorna not Jane.

Put the problem icon file in a compressed Zip file and attach that.
Hopefully, somebody can investigate but I am not at a PC this weekend.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

User avatar
LornaCraig
Megastar
Posts: 2996
Joined: 11 Jan 2005 17:36
Family Historian: V7
Location: Oxfordshire, UK

Re: When does a Bitmap become an FH Icon

Post by LornaCraig » 10 Mar 2017 17:43

I don't know what the problem might be, but try this one I've just made and tested.

NOTE: this site does not allow bmp files to be uploaded so I have changed the file extension to .txt and you will need to change it back to .bmp after downloading.
Attachments
Census39.txt
(1.93 KiB) Downloaded 206 times
Lorna

avatar
Gowermick
Megastar
Posts: 1632
Joined: 13 Oct 2015 07:22
Family Historian: V7
Location: Swansea

Re: When does a Bitmap become an FH Icon

Post by Gowermick » 10 Mar 2017 17:48

Duh, sorry Lorna, :oops: pardon me, but my age is showing.
I'll give your file a try and let you know how I get on.
Thanks

Mike
Mike Loney

Website http://www.loney.tribalpages.com
http://www.mickloney.tribalpages.com

avatar
Gowermick
Megastar
Posts: 1632
Joined: 13 Oct 2015 07:22
Family Historian: V7
Location: Swansea

Re: When does a Bitmap become an FH Icon

Post by Gowermick » 10 Mar 2017 17:53

Lorna,
That did the trick,
Thanks
Mike Loney

Website http://www.loney.tribalpages.com
http://www.mickloney.tribalpages.com

avatar
Gowermick
Megastar
Posts: 1632
Joined: 13 Oct 2015 07:22
Family Historian: V7
Location: Swansea

Re: When does a Bitmap become an FH Icon

Post by Gowermick » 11 Mar 2017 12:37

Well I've played some more, and used Windows Paint to load then save the Icon I created in Gramps, and it works. The one from Gramps itself still doesn't work.

I have attached both as examples, but changed their extensions from .BMP to .TXT to fool fhug. After downloading, simply remane them back to .BMP extensions.

I would be interested in what others thought.
Attachments
Works39.txt
(1.93 KiB) Downloaded 185 times
Wontwork39.txt
(1.99 KiB) Downloaded 172 times
Mike Loney

Website http://www.loney.tribalpages.com
http://www.mickloney.tribalpages.com

User avatar
LornaCraig
Megastar
Posts: 2996
Joined: 11 Jan 2005 17:36
Family Historian: V7
Location: Oxfordshire, UK

Re: When does a Bitmap become an FH Icon

Post by LornaCraig » 11 Mar 2017 12:52

The only difference I can see is that the one that works is a slightly smaller file (1.92 KB compared with 1.99 KB). The Gramps program must be saving it in a slightly different way. However the good news is that you now know how to get round the problem.
Lorna

User avatar
trevorrix
Famous
Posts: 228
Joined: 17 Nov 2002 20:27
Family Historian: V7
Location: Suffolk, England

Re: When does a Bitmap become an FH Icon

Post by trevorrix » 11 Mar 2017 12:58

Excellent thank you Mike. Much better than the 39 icon that I have been using up to now.
Trevor Rix

avatar
Gowermick
Megastar
Posts: 1632
Joined: 13 Oct 2015 07:22
Family Historian: V7
Location: Swansea

Re: When does a Bitmap become an FH Icon

Post by Gowermick » 11 Mar 2017 13:07

Lorna and Trevor,

The puzzle still remains, why does FH not recognise a Gramps Bitmap. Help say you can use a program such as Paint, not Must, and although Windows recognises both, FH doesn't. One for Simon to answer perhaps.

Trevor,
I can't take credit, as I just cut and pasted the appropriate from icons in the Bilko collection, so that they retained a similar style.
Mike Loney

Website http://www.loney.tribalpages.com
http://www.mickloney.tribalpages.com

User avatar
trevorrix
Famous
Posts: 228
Joined: 17 Nov 2002 20:27
Family Historian: V7
Location: Suffolk, England

Re: When does a Bitmap become an FH Icon

Post by trevorrix » 11 Mar 2017 13:23

When I open Wontwork39.bmp in IrfanView then Save As over the top as Wontwork39.bmp, it does work in Family Historian.
Trevor Rix

User avatar
LornaCraig
Megastar
Posts: 2996
Joined: 11 Jan 2005 17:36
Family Historian: V7
Location: Oxfordshire, UK

Re: When does a Bitmap become an FH Icon

Post by LornaCraig » 11 Mar 2017 13:29

Yes, that is the same as Mike himself found by opening and saving in Windows Paint, and I found the same using Paint Shop Pro. It must be something specific to the way the Gramps program saves the file that stops FH recognising it, although the other programs do. As soon as it is opened and re-saved by another program it is OK in FH.
Lorna

Post Reply