IonicWind Software

Announcements => User Offerings => Topic started by: Brian on March 20, 2020, 12:51:22 PM

Title: Passport Photo Printer
Post by: Brian on March 20, 2020, 12:51:22 PM
Hi,

I've been messing with this for some time now, with the help of Fasecero, Andy and Bill, and I think it's about time I published it

As the Subject says, it's a Passport Photo Printer

Run the program. Select a country. The countries on the right are just a random selection which used different sizes of photo while I was testing. The most commonly used size is 35mm x 45mm - a lot of countries use that

If your country uses a size not listed, use the Custom photo size option, and set your own dimensions

Now load a suitable photo. You can move it around until the head fits into the correct area; use the plus key to enlarge the pic by 10%, and the minus to reduce by 10%

When you are happy, press Capture, and two copies of the photo are shown in a separate window. Click the Print button, and away you go . . .

I did read that most countries require two copies of a photo, so it seemed the easiest to do it that way

Of course, any glaring errors please let me know, or any alterations or additions. I don't guarantee that it is all correct in terms of photo sizes and head placements, but I have checked and double-checked the measurements, and I am reasonably satisfied that they are correct

Have fun!

Brian
Title: Re: Passport Photo Printer
Post by: h3kt0r on March 21, 2020, 01:03:26 AM
Nice program, i like it. Thanks for sharing the source, Brian.
Title: Re: Passport Photo Printer
Post by: Brian on March 21, 2020, 07:05:15 AM
I have noticed that when you minimize the program, and then maximize it again, some of the background goes missing. I've tried all sorts this morning, without success. If anyone can fix this, or tell me how, it would be appreciated

I know I can disable the minimize button, but that would be cheating!

Brian
Title: Re: Passport Photo Printer
Post by: LarryMc on March 21, 2020, 08:55:59 AM
Appears to work fine for me. I loaded each of the images, centered them, then minimized, then restored and the image looked fine.
Even played with making the images larger and smaller and repeating the process and everything looked fine. Tried with different countries selected and everything looked fine.

I  running windows 10 on a Dell.









Title: Re: Passport Photo Printer
Post by: Brian on March 21, 2020, 09:10:06 AM
Well, if I knew how to insert a screenshot in here, I would show you! Just tried it again. Ran the program, imnmediately minimised, lost some background
Ran the program again, loaded up a picture, minimised - just the same. Aargh!
Thanks for testing, anyway

Brian
Title: Re: Passport Photo Printer
Post by: Brian on March 24, 2020, 06:47:47 AM
Update attached: Wasn't happy with the dimensions for a Spanish photo, so I looked them up a bit more carefully, and have now changed them. Also made some cosmetic changes

Don't forget, you have to make lib files from pbimage.dll and image323.dll to get it to compile. Forgot to mention this in the first post

Brian
Title: Re: Passport Photo Printer
Post by: Brian on April 08, 2020, 07:32:44 AM
Hello,

Just added Finland to the list. Noticed that it was a non-standard size compared to other European countries. Also there have been various other tweaks since I first posted this program

The new version, with exe, is in the first post

Brian
Title: Re: Passport Photo Printer
Post by: Brian on April 12, 2020, 08:07:25 AM
OK, this is it, I think. Added a few more countries to the list, Greece, Norway, etc, and had a tidy up. Deleted the download in the first post, so this is the one and only version. All the files are in the zip, with exe as well

Brian