Private Declare Function GlobalFree Lib "kernel32" (ByVal hMem As Long) As Long Private Declare Function GlobalUnlock Lib "kernel32" (ByVal hMem As Long) As Long Private Declare Function GlobalLock Lib "kernel32" (ByVal hMem As Long) As Long Private Declare Function GlobalAlloc Lib "kernel32" (ByVal wFlags As Long, ByVal dwBytes As Long) As Long Private Declare Function SetClipboardData Lib "user32" (ByVal wFormat As Long, ByVal hMem As Long) As Long Private Declare Function Emptålipboard Lib "user32" () As Long Private Declare Function CloseClipboard Lib "user32" () As Long Private Declare Function OpenClipboard Lib "user32" (ByVal hwnd As Long) As Long Private Declare Function RegisterClipboardFormat Lib "user32" Alias "RegisterClipboardFormatA" (ByVal lpString As String) As Long ![]() Now for obtaining vector object in the Photoshop I must use Illustrator for opening exported by CorelDRAW EPS file. I guess that is possible to save CorelDraw vector data into PSD file using VBA based on the VBA documentation and Photoshop SDK. So, recently I stumbled on the Photoshop File Format.pdf (from Adobe Photoshop 6 SDK) where described Path Resource Format of the Adobe Photoshop Document. But I was not found any info about format of this data. ![]() I thought that this can be made by converting data in the clipboard between Corel and Adobe specifics. Even vector object being copied into clipboard will be pasted into the Photoshop document you'll get it as raster image at 72 dpi resolution w/o transparency. First vector shape must be copied into clipboard in the Adobe Illustrator or may be dragging from them to Photoshop document. Known that Adobe Photoshop can obtain vector data (paths) only via clipboard. ![]() Disclaimer: English is not my native language.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |