I had a time to read some stuff about image proccessing. Now I need to start with Delphi (v. 7). I would also like to work with Graphics and especialy GDI+. My original idea was to write program for...
Type: Posts; User: chlopik; Keyword(s):
I had a time to read some stuff about image proccessing. Now I need to start with Delphi (v. 7). I would also like to work with Graphics and especialy GDI+. My original idea was to write program for...
If you are interested about logic of the Convex Hull algo, it is explained here:
https://www.hackerearth.com/practice/math/geometry/line-sweep-technique/tutorial/
In C++ the code originally used...
My English is not so good so sometimes also I understand the message in completly different meaning, like "get away" like go away with ... I think vectors here in my code may be not necessary because...
Hello can you help to rewrite this C++ code to Delphi? It's Convex Hull. Yet I am working with old Delphi 7 so does this Delphi version even support vectors? Or how to go around vectors? I never used...
Dank je. Uiteindelijk bleek dat zowel de map als het bestand in de documentenmap onder de afbeeldingen waren gemaakt.
I think no more attention is needed to this topic. The file renamer was just a help in prepraing images. One job which took one week to finish. Now I continue on Delphi project, which will use the...
Ik heb de afbeeldingenmap niet geüpload, maar de img-map bestaat al op mijn pc. Een jpg-afbeelding had in die map moeten staan, maar niets.
...
When I rethink it so yes, it is easy file renamer. But the custom sort function is good.
What is the H+ directive?
Now, after creating new package I am getting this error:
[Error] Never-build package 'NativeJpgD7_repaired_next_try' requires always-build package 'GR32_D7'
requires
rtl,
vcl,
...
Hello. Since tomorow I am trying to install compile or build the NativeJpg package as found and downloaded here:
https://github.com/acbarbosa1964/simdesign/tree/master/simlib/nativejpg
There are...
Hello flabber, I could check your code later. These days I am afraid about problems with installing a package nativejpg, I will create a question about it.
OK guy, so I have finished my work. This is the copy function, which creates new files in sorted order. I'm thankful for your help.
procedure TForm1.buttonClick(Sender: TObject);
var i:...
That is exact.
Yeah, you need to view them with the sorted names, sorted logic. I am using FastStone viewer. But Windows explorer should manage that too, just to select the sorting logic by...
Source folder is fotky_resized
the output one is sorted.
If the photos are too small, I can make a bit bigger one if you need. But I will watch the not resized copies.
Just watch the photos from...
It seems that is works almost perfectly. But with a little problem when copying the files. I would need to upload the whole project including the files so you can see how it works and what is on my...
I just renamed few files which had no number.
OK. Now I am confused.
ListFile.CustomSort(StringListSortCompare);
Why it generates error
List index out of bounds? Did you not have this...
Oh yeah.
if not TryStrToInt(sNum, num) then
showmessage('sNum:"'+sNum+'"');
So I will debug now my fnc.
I would like to Try and Catch error for number := StrToInt(..)
so that I see the input string passed to function. Please help, let it is perfect :). Because I still don't know the invalid string...
I would like to Try and Catch error for number := StrToInt(..)
so that I see the input string passed to function. Please help, let it is perfect :). Because I still don't know the invalid string...
I am using my own function to get the prefix - and I god error there while reading the files. But I still have problems to generate my own message. I tried Raise Exception.Create('some sort of...
No I am not in hurry, but I am tired today for some reason.
I have renamed the const array to CONST_PrefixBase:
if AnsiStartsStr(CONST_PrefixBase[idx], Prefix) then
exit(idx); //...
base prefix 'mh' stands for "medium high"
const CONST_ViewPrefix: Array[0..9] of String = (
'vvt', // very very top
'vh', // very high
'sh', // slightly high
'mc', // middle...
I'm sorry that today I am slow in reading and my reactions/responses will take longer.
getPrefixWeight - Not sure but I think that instead of AnsiStartsStr another funtion should be used; one, which...
Thank you for your efford. And yes, I forgot to mention the rest of the problem.
complete prefix is like vhf or vhr or vhs - which can be ignored, it just describes the relation between angle and...
Hello. I know there is some function CustomSort that enables to sort with a callback function, but how can I sort this?
I have images named like bf15.png, bf35.png etc... bs00.png, bs30.png,...