Hi
How do I get this to work on the MAC?
Search found 1244 matches
- Sun Sep 05, 2021 3:42 pm
- Forum: Tricks 'n' Tips
- Topic: libVLC in pb (Windows Only)
- Replies: 27
- Views: 9713
- Tue Aug 31, 2021 3:30 pm
- Forum: Coding Questions
- Topic: Reading POINTs from an image, to draw on another.
- Replies: 17
- Views: 4287
Re: Reading POINTs from an image, to draw on another.
Another example. If the user wants to put a smaller greyscale image inside the original image it can be done like this. UseJPEGImageDecoder() Global SourceImage.i,DisplayImage.i,NewImage.i Global FileName.s Global PRed.i,PGreen.i,PBlue.i OpenWindow(0,0,0,1600,560, "ImageCopyCols") CreateIm...
- Tue Aug 31, 2021 2:58 pm
- Forum: Coding Questions
- Topic: Reading POINTs from an image, to draw on another.
- Replies: 17
- Views: 4287
Re: Reading POINTs from an image, to draw on another.
Isnt the DrawingBuffer() for images static? The device context isnt but the buffer should be. Not a question I would ask. Just processing a single image seems quick enough for me. UseJPEGImageDecoder() Global SourceImage.i,DisplayImage.i Global FileName.s Global PRed.i,PGreen.i,PBlue.i OpenWindow(0...
- Tue Aug 31, 2021 6:34 am
- Forum: Coding Questions
- Topic: Reading POINTs from an image, to draw on another.
- Replies: 17
- Views: 4287
Re: Reading POINTs from an image, to draw on another.
Just another idea. If the second image is simply the first image processed then you do not need to draw the processed image onto a second image just display the processed image. Start/Stop Drawing only called once. Also if the original Image is to be used again so you do not wish to change the origi...
- Tue Aug 31, 2021 6:10 am
- Forum: Coding Questions
- Topic: Reading POINTs from an image, to draw on another.
- Replies: 17
- Views: 4287
Re: Reading POINTs from an image, to draw on another.
If I understand correctly you want to read one image, process the individual pixels and write them to a second image. I would break it down to two steps. First process the source image colours Second write the source image to the second image. Maybe code like this:- UseJPEGImageDecoder() OpenWindow(...
- Fri Aug 27, 2021 8:27 am
- Forum: Coding Questions
- Topic: run terminal command
- Replies: 1
- Views: 503
run terminal command
This always bugs me.
I start the terminal and run this
How can I use Runprogram to run that in the terminal and the close the terminal?
I start the terminal and run this
works perfectly every time.exiftool -UserComment /Users/dave/Documents/Testexif/482.jpg > /Users/dave/Documents/TestExif.txt"
How can I use Runprogram to run that in the terminal and the close the terminal?
- Thu Aug 26, 2021 3:54 pm
- Forum: Tricks 'n' Tips
- Topic: Module to easy use Exiftool in your application
- Replies: 8
- Views: 3538
Re: Module to easy use Exiftool in your application
Ah well getting there but run program will not run the terminal again
I run this in the terminal
exiftool -UserComment /Users/dave/Documents/Testexif/482.jpg > /Users/dave/Documents/TestExif.txt
works perfectly every time.
Tried umpteen ways of using run program and none of them work.
I run this in the terminal
exiftool -UserComment /Users/dave/Documents/Testexif/482.jpg > /Users/dave/Documents/TestExif.txt
works perfectly every time.
Tried umpteen ways of using run program and none of them work.
- Thu Aug 26, 2021 2:15 pm
- Forum: Tricks 'n' Tips
- Topic: Module to easy use Exiftool in your application
- Replies: 8
- Views: 3538
Re: Module to easy use Exiftool in your application
Tried that and it certainly gets me to the main window but as soon as I load a jpg it just locks up.
I think I can issue the commands through running terminal and direct any output to a file.
Would be nice if I could get terminal output straight into my programme not to file but will see.
Thanks
I think I can issue the commands through running terminal and direct any output to a file.
Would be nice if I could get terminal output straight into my programme not to file but will see.
Thanks
- Thu Aug 26, 2021 8:45 am
- Forum: Tricks 'n' Tips
- Topic: Module to easy use Exiftool in your application
- Replies: 8
- Views: 3538
Re: Module to easy use Exiftool in your application
Yes there are no .exe on the Mac.
used terminal to list the folder and it reports exiftool as a lib so tried.
which compiles ok but where do I go from here?
used terminal to list the folder and it reports exiftool as a lib so tried.
Code: Select all
ImportC "/usr/local/bin/exiftool"
EndImport
- Thu Aug 26, 2021 7:58 am
- Forum: Tricks 'n' Tips
- Topic: Module to easy use Exiftool in your application
- Replies: 8
- Views: 3538
Re: Module to easy use Exiftool in your application
Old thread but landed here when searching for something to help me edit exif data in jpg files. I have downloaded the ExifTool PKG for the Mac and installed. When I run Exiftool from the terminal it appears to work, I have tried some of the read examples and they work in terminal. Every time I run t...
- Fri Aug 20, 2021 4:31 pm
- Forum: Coding Questions
- Topic: Canvas drawing and web gadget
- Replies: 0
- Views: 1447
Canvas drawing and web gadget
I am using a canvas gadget to display an image using the following code.- StartVectorDrawing(CanvasVectorOutput(CanvasPageDesign,#PB_Unit_Millimeter)) MovePathCursor(40,40) DrawVectorImage(ImageID(0),255,100,40) StopVectorDrawing() This works well, the image is placed 40mm in and 40mm down and is th...
- Fri Aug 13, 2021 2:58 pm
- Forum: Coding Questions
- Topic: List vs Map when searching for duplicate files
- Replies: 12
- Views: 2125
- Sun Aug 01, 2021 6:11 am
- Forum: Mac OSX
- Topic: Runprograme on big sur
- Replies: 9
- Views: 6891
Re: Runprograme on big sur
There are two way to use it. RunProgram("open", "/Applications/TextEdit.app","") or RunProgram("/Applications/TextEdit.app/Contents/MacOS/TextEdit","","") GetUserDirectory(#PB_Directory_Programs) returns /Users/yourName/Applications/ and t...
- Wed Jul 28, 2021 8:44 am
- Forum: Coding Questions
- Topic: DatabaseColumnType() Reporting Wrong Type in SQLite
- Replies: 12
- Views: 6951
Re: DatabaseColumnType() Reporting Wrong Type in SQLite
Just thought maybe I should have made an attempt to explain dynamic typing. The column type in Sqlite is really just a label not a type it helps keep compatibility with SQL statements and does not describe the type of the column. You can use just about anything as a column type. The programmer can u...
- Wed Jul 28, 2021 7:48 am
- Forum: Coding Questions
- Topic: DatabaseColumnType() Reporting Wrong Type in SQLite
- Replies: 12
- Views: 6951
Re: DatabaseColumnType() Reporting Wrong Type in SQLite
There is one more approach you can use. You can select the typeof column values as below:- SELECT typeof(ColumnName) FROM TableName; However this returns the type of the data stored in the column not the defined column type. Remember Sqlite is dynamically typed not like other databases which are rig...