Photo Resizer by HMG+FreeImage.dll

You can share your experience with HMG. Share with some screenshots/project details so that others will also be benefited.

Moderator: Rathinagiri

User avatar
gfilatov
Posts: 1066
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Contact:

Photo Resizer by HMG+FreeImage.dll

Post by gfilatov »

Hello,

I want to present you this small utility ;)

What is Photo Resizer ?
~~~~~~~~~~~~~~~~~~~~~~~
A FREE utility developed for digital camera owners, webmasters, people travelling
or anybody who quickly wants to resize a photo or picture for email or publishing
on a web site. No need to open a photo editor or email-client. Open the photo in
PhotoResizer, resize it and e-mail it to a friend, family, colleague or your office.

Remarks
~~~~~~~
You can load only JPEG photos with width and height more than 320 x 240 pixels.

Keyboard and mouse Control
~~~~~~~~~~~~~~~~~~~~~~~~~~
Left button double click - switch to photo mode from file list
Left button click - switch to Fullscreen mode from windows mode
Right button click - back to windows mode from Fullscreen mode
Esc, Enter - exit from Fullscreen mode
Gray Plus - rotate right the image
Gray Minus - rotate left the image
Left - load previous image in the file list
Right - load next image in the file list
Up, Home - load one image in the file list
Down, End - load last image in the file list
Page Up, Back - load previous image in the file list
Page Down, Space - load next image in the file list

Used tools
~~~~~~~~~~
Made by Harbour and MiniGUI with freeware FreeImage.dll.

Enjoy ! :-)
Attachments
PhotoResizer.zip
PhotoResizer application and FreeImage.DLL
(747.27 KiB) Downloaded 778 times
Last edited by gfilatov on Tue Nov 24, 2009 6:45 pm, edited 1 time in total.
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein
User avatar
sudip
Posts: 1454
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India

Re: Photo Resizer by HMG+FreeImage.dll

Post by sudip »

Hello Grigory,
Great :D Excellent :D Wanderful :D
It will be great helpful to me :)
I tested it. It runs fine.

Only one point. When I open a folder with many photos, scrollbar doesn't work well.

Thank you again for this excellent utility :)

With best regards.

Sudip
With best regards,
Sudip
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Photo Resizer by HMG+FreeImage.dll

Post by Rathinagiri »

F(u)antastic Grigory!
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: Photo Resizer by HMG+FreeImage.dll

Post by Roberto Lopez »

gfilatov wrote:Hello,

I want present to your attention this small utility ;)
Nice!
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
luisvasquezcl
Posts: 1258
Joined: Thu Jul 31, 2008 3:23 am
Location: Chile
Contact:

Re: Photo Resizer by HMG+FreeImage.dll

Post by luisvasquezcl »

Hi Grigory,
thanks for your release.
very good job.
Best regards,
Luis Vasquez.
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Photo Resizer by HMG+FreeImage.dll

Post by Pablo César »

Dear Grigory Filatov,

I wish to use load and save functions of FreeImage.dll in HMG and I can´t save from bmp to jpg.
Could you post some examples used in your app Photo Resizer ?

I´ve tried this:

Code: Select all

im := CallDll32("FreeImage_Load", "FreeImage.dll", 0, "file.bmp", 0)
CallDll32("FreeImage_Save", "FreeImage.dll", 2, im, "file.jpg", 0 )
But not working. What´s I am doing wrong ?
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Photo Resizer by HMG+FreeImage.dll

Post by Pablo César »

I´ve got a final good results but using with fi_load and fi_save after have been analised your FREEVIEWDEMO. I was trying compile but with erros when I noted was missing libFreeImage.a to bring in the current project-folder. I thought was possible to intereact with dll thru CallDll32()... Thank you for your sharing of FREEVIEWDEMO.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
gfilatov
Posts: 1066
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Contact:

Re: Photo Resizer by HMG+FreeImage.dll

Post by gfilatov »

Hi to All,

I want to present the updated version of the Photo Resizer utility which was compiled with a recent MiniGUI beta build.
It have a sfx archive as a setup now :D
Attachments
PhotoResizer.zip
(1.22 MiB) Downloaded 244 times
photo-image.png
photo-image.png (215.3 KiB) Viewed 4099 times
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein
edk
Posts: 911
Joined: Thu Oct 16, 2014 11:35 am
Location: Poland

Re: Photo Resizer by HMG+FreeImage.dll

Post by edk »

Thanks to Grigory, but my MalwareBytes detects malware in your exe file :? .

Code: Select all

Malwarebytes
www.malwarebytes.com

-Log Details-
Protection Event Date: 3/11/19
Protection Event Time: 2:01 PM
Log File: c2f5cf14-43fd-11e9-994d-e0d55e95db50.json

-Software Information-
Version: 3.7.1.2839
Components Version: 1.0.538
Update Package Version: 1.0.9632


-System Information-
OS: Windows 10 (Build 17763.316)
CPU: x64
File System: NTFS
User: System

-Blocked Malware Details-
File: 1
MachineLearning/Anomalous.96%, C:\Program Files (x86)\PhotoResizer\PhotoResizer.exe, Quarantined, [0], [392687],1.0.9632

(end)
User avatar
gfilatov
Posts: 1066
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Contact:

Re: Photo Resizer by HMG+FreeImage.dll

Post by gfilatov »

edk wrote: Mon Mar 11, 2019 1:10 pm Thanks to Grigory, but my MalwareBytes detects malware in your exe file :? .
Hi Edward,

Thanks for your interest!

Don't worry. It is a false alarm 8-)
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein
Post Reply