Delphi-PRAXiS
Seite 1 von 2  1 2      

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Algorithmen, Datenstrukturen und Klassendesign (https://www.delphipraxis.net/78-algorithmen-datenstrukturen-und-klassendesign/)
-   -   Where to get help to Native jpg library by SimDesign BV (https://www.delphipraxis.net/211011-where-get-help-native-jpg-library-simdesign-bv.html)

neumimnemecky 13. Jul 2022 15:11

Where to get help to Native jpg library by SimDesign BV
 
Hello.
Where can I get help for Native jpg library by SimDesign BV?
https://www.simdesign.nl/nativejpg.html

I estimate that SimDesign is author of the bpl file named
NativeJpgD7.bpl
and NativeJpgD7.dcp
which is installed on my PC.

I just wanted to open JPG and to draw it to Image and realized that I don't have any help file. Do you have one?

Uwe Raabe 13. Jul 2022 15:33

AW: Where to get help to Native jpg library by SimDesign BV
 
AFAIK, Nils Haeck, the author of that library, is out of business for quite a while due to private reasons. That means you are probably at your own with any questions.

Steku 13. Jul 2022 15:40

AW: Where to get help to Native jpg library by SimDesign BV
 
According to this site it is opensource...
https://github.com/acbarbosa1964/sim...mlib/nativejpg

Maybe you can find some help there...

Greetings...
Steku

neumimnemecky 13. Jul 2022 16:46

AW: Where to get help to Native jpg library by SimDesign BV
 
Zitat:

Zitat von Steku (Beitrag 1508738)
According to this site it is opensource...
https://github.com/acbarbosa1964/sim...mlib/nativejpg

Maybe you can find some help there...

Greetings...
Steku

Unfortunately I cannot download the directory. No way. I really need it. I tried Github Downloader (GitHubFolderDownloader.exe) but this program returns some exception and so no download is possible. And I tried to download it on
https://download-directory.github.io
but this either does not start to download or on W10 I got message that I have ad blocker on, which on Firefox should be not truth or I cannot really turn it off. And on Chrome I dont know how to do it. Would be here some good soul who would download the folder for me and zip it and upload it e.g. on Google drive?

noisy_master 13. Jul 2022 16:55

AW: Where to get help to Native jpg library by SimDesign BV
 
Then go to the parent directory: https://github.com/acbarbosa1964/simdesign, click on code, click download .zip.... job done ;-)

Have much fun!

neumimnemecky 13. Jul 2022 18:18

AW: Where to get help to Native jpg library by SimDesign BV
 
Zitat:

Zitat von noisy_master (Beitrag 1508746)
Then go to the parent directory: https://github.com/acbarbosa1964/simdesign, click on code, click download .zip.... job done ;-)

Have much fun!

Thank you. That was easy to download. But not I am confused. If I extracted the files, should the folder date be 2018 or 2022? When I look for the downloaded file with different Windows, should I see it? I am confused if what I have found is the old directory NativeJPG123 or is it new one. Because I think the extracted folder name was SimDesign.

To me it seems like the library requires
NativeJpg133\simlib\nativejpg\demos\viewer32\Nativ eJpg32.pas

In this file I see some pre made classes with comments:
Code:
  // Use Performance to set the performance of the jpeg image when reading, that is,
  // for decompressing files. This property is not used for writing out files.
  // With jpBestSpeed, the DCT decompressing process uses a faster but less accurate method.
  // When loading half, quarter or 1/8 size, this performance setting is not used.
  TsdJpegPerformance = (
    jpBestQuality,
    jpBestSpeed
  );

  // TsdJpegGraphic32 is a Delphi class, which can be used
  // to load Jpeg files into TBitmap32. It relays the Jpeg functionality in the non-Windows
  // TsdJpegImage class to this TBitmap32 component.
Plus, in file simlib\bitmap\sdBitmapResize.pas some useful resize function.

File NativeJpg133\simlib\nativejpg\demos\viewer32\viewe r32Main.pas seems to include all interesting edit functions like rotation and/or brightness/contract correction. Very useful.

KodeZwerg 13. Jul 2022 18:43

AW: Where to get help to Native jpg library by SimDesign BV
 
Zitat:

Zitat von neumimnemecky (Beitrag 1508749)
should the folder date be 2018 or 2022?

Actually the Folder date is 2015, it can be that the Archiver Tool you use does not set Date/Time on Folders...

neumimnemecky 13. Jul 2022 19:45

AW: Where to get help to Native jpg library by SimDesign BV
 
Zitat:

Zitat von KodeZwerg (Beitrag 1508750)
Zitat:

Zitat von neumimnemecky (Beitrag 1508749)
should the folder date be 2018 or 2022?

Actually the Folder date is 2015, it can be that the Archiver Tool you use does not set Date/Time on Folders...

So I have mistaken the files and folders. I have extracted the zip onto different disk/partition with similar name :shock: Hence different folder names and different date. So the date 2018 was date when I installed the library firstly on my disk. But when I tried to use it, it wanted nativexml. Probably I was not able to use back it in 2018 without this native xml library.

neumimnemecky 14. Jul 2022 09:07

AW: Where to get help to Native jpg library by SimDesign BV
 
I have problem to compile the package. It requires visualclx - but I have Delphi 7 installed - should not be problem to find it. What can I do?

KodeZwerg 14. Jul 2022 09:39

AW: Where to get help to Native jpg library by SimDesign BV
 
Code:
package NativeJpgD7;

{$R *.res}
{$ALIGN 8}
{$ASSERTIONS ON}
{$BOOLEVAL OFF}
{$DEBUGINFO ON}
{$EXTENDEDSYNTAX ON}
{$IMPORTEDDATA ON}
{$IOCHECKS ON}
{$LOCALSYMBOLS ON}
{$LONGSTRINGS ON}
{$OPENSTRINGS ON}
{$OPTIMIZATION ON}
{$OVERFLOWCHECKS OFF}
{$RANGECHECKS OFF}
{$REFERENCEINFO ON}
{$SAFEDIVIDE OFF}
{$STACKFRAMES OFF}
{$TYPEDADDRESS OFF}
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST OFF}
{$MINENUMSIZE 1}
{$IMAGEBASE $400000}
{$DESCRIPTION 'NativeJpg - by SimDesign BV'}
{$IMPLICITBUILD ON}

requires
  rtl,
  vcl,
//  visualclx,
  vcljpg;

contains
  NativeJpg in '..\NativeJpg.pas',
  sdJpegBitstream in '..\sdJpegBitstream.pas',
  sdJpegDCT in '..\sdJpegDCT.pas',
  sdJpegCoder in '..\sdJpegCoder.pas',
  sdJpegHuffman in '..\sdJpegHuffman.pas',
  sdJpegLossless in '..\sdJpegLossless.pas',
  sdJpegMarkers in '..\sdJpegMarkers.pas',
  sdJpegTypes in '..\sdJpegTypes.pas',
  sdFileList in '..\..\disk\sdFileList.pas',
  sdSortedLists in '..\..\general\sdSortedLists.pas',
  sdBitmapResize in '..\..\bitmap\sdBitmapResize.pas',
  sdMapIterator in '..\..\bitmap\sdMapIterator.pas',
  sdColorTransforms in '..\..\color\sdColorTransforms.pas',
  sdVirtualScrollbox in '..\..\virtualscrollbox\sdVirtualScrollbox.pas',
  sdDebug in '..\..\general\sdDebug.pas',
  sdJpegImage in '..\sdJpegImage.pas',
  sdBitmapConversionWin in '..\..\bitmap\sdBitmapConversionWin.pas',
  sdGraphicTypes in '..\..\bitmap\sdGraphicTypes.pas',
  sdStreams in '..\..\general\sdStreams.pas';

end.
Try this. But actually "VisualCLX" is a basic package within Delphi 7.
The more smart way for you would be to register to Embarcadero and obtain a one year free license for the Community Edition which got all you needed out-of-the-box.


Alle Zeitangaben in WEZ +1. Es ist jetzt 12:31 Uhr.
Seite 1 von 2  1 2      

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz