https://bugs.winehq.org/show_bug.cgi?id=38011
Bug ID: 38011 Summary: ID Photo Maker Opens Sucessfully but can't import jpegs for editing Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: morpole@gmail.com Distribution: ---
Created attachment 50646 --> https://bugs.winehq.org/attachment.cgi?id=50646 This bug report came up. Hope it's of use to you. Thanks.
Hi,
Complete novice with Linux. Just dicovered it. Love it. Found out about Wine Seriously good idea! Would like to run this program for my small business. ID Photo Maker www.idphotomaker.com I got it installed ok using wine but nothing happens when i try to import a jpeg into it for editing. Help Please!
https://bugs.winehq.org/show_bug.cgi?id=38011
morpole@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |www.idphotomaker.com Distribution|--- |Mint
https://bugs.winehq.org/show_bug.cgi?id=38011
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL|www.idphotomaker.com |http://www.idphotomaker.com Version|unspecified |1.6.2 Summary|ID Photo Maker Opens |ID Photo Maker can't import |Sucessfully but can't |jpegs for editing |import jpegs for editing |
--- Comment #1 from Austin English austinenglish@gmail.com --- Please retest in 1.7.35.
https://bugs.winehq.org/show_bug.cgi?id=38011
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |focht@gmx.net Summary|ID Photo Maker can't import |ID Photo Maker 3.2 can't |jpegs for editing |import jpegs for editing | |('capCreateCaptureWindowW' | |is a stub) Ever confirmed|0 |1
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming although there is no crash anymore (Wine evolved). Import still doesn't work.
Relevant part of trace log:
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/ID Photo Maker
$ WINEDEBUG=+tid,+seh,+relay,+avicap wine ./idp.exe >>log.txt 2>&1 ... 0023:Call user32.CreateWindowExA(00040100,0013ced8 "Afx:400000:b:2005a:0:0",00570350 "\xca\xd3\xc6\xb5\xb4\xb0\xbf\xda",44010000,00000038,00000010,00000064,00000064,00020240,000000f0,00400000,00000000) ret=004cd98e ... 0023:Call avicap32.capCreateCaptureWindowA(00570350 "\xca\xd3\xc6\xb5\xb4\xb0\xbf\xda",50000000,00000000,00000000,00000064,00000064,0001027a,00000000) ret=0049d865 ... 0023:fixme:avicap:capCreateCaptureWindowW (L"\00ca\00d3\00c6\00b5\00b4\00b0\00bf\00da", 50000000, 00000000, 00000000, 00000064, 00000064, 0x1027a, 00000000): stub ... 0023:Ret avicap32.capCreateCaptureWindowA() retval=00000000 ret=0049d865 0023:Call user32.DestroyWindow(0001027a) ret=004cdc0c ... --- snip ---
The culprit is the avicap insufficiency here. Even without explicitly selecting 'webcam' menu, it's somehow still needed in jpeg case.
Source: http://source.winehq.org/git/wine.git/blob/4d2ea61a213720375d6c7a1416915331f...
--- snip --- 63 HWND VFWAPI capCreateCaptureWindowW(LPCWSTR lpszWindowName, DWORD dwStyle, INT x, 64 INT y, INT nWidth, INT nHeight, HWND hWnd, 65 INT nID) 66 { 67 FIXME("(%s, %08x, %08x, %08x, %08x, %08x, %p, %08x): stub\n", 68 debugstr_w(lpszWindowName), dwStyle, x, y, nWidth, nHeight, hWnd, nID); 69 return 0; 70 } --- snip ---
For testing purpose I created/returned a dummy window and it enabled the import functionality along with editing.
MSDN: https://msdn.microsoft.com/en-us/library/windows/desktop/dd756879%28v=vs.85%...
Some example usage:
http://www.timvw.be/2006/06/26/windows-multimedia-video-capture/
https://stackoverflow.com/questions/16184659/how-to-copy-image-without-using...
$ sha1sum idpm_setup.exe 907e11acacbeb63bb9a43c0a91bd3f0368afbb93 idpm_setup.exe
$ du -sh idpm_setup.exe 8.4M idpm_setup.exe
$ wine --version wine-1.7.35-73-g6eb4966
Regards
https://bugs.winehq.org/show_bug.cgi?id=38011
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
--- Comment #3 from Sebastian Lackner sebastian@fds-team.de --- Created attachment 51364 --> https://bugs.winehq.org/attachment.cgi?id=51364 avicap32: Return a fake window in capCreateCaptureWindowW.
Hacky patch to get the JPEG import working ... probably a bit too hacky! ;)
https://bugs.winehq.org/show_bug.cgi?id=38011
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch Summary|ID Photo Maker 3.2 can't |ID Photo Maker 3.2 can't |import jpegs for editing |import jpegs for editing |('capCreateCaptureWindowW' |(needs |is a stub) |avicap32.dll.capCreateCaptu | |reWindowW implementation) URL|http://www.idphotomaker.com |https://web.archive.org/web | |/20150213005744if_/http://i | |dphotomaker.com/idpm_setup. | |exe
--- Comment #4 from Gijs Vermeulen gijsvrm@gmail.com --- Still present with wine-6.14.
Adding 'patch' keyword & stable download that matches the info from Comment #2.
https://bugs.winehq.org/show_bug.cgi?id=38011
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED Fixed by SHA1| |b755d58b13e7c5b61ba7c78b940 | |2b2c919d57b58
--- Comment #5 from Gijs Vermeulen gijsvrm@gmail.com --- Importing jpegs works as of https://source.winehq.org/git/wine.git/commit/b755d58b13e7c5b61ba7c78b9402b2c919d57b58, marking FIXED.
Importing from webcam is still broken and will need support for WM_CAP_* messages, but that deserves its own bug;.
https://bugs.winehq.org/show_bug.cgi?id=38011
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.18.