summaryrefslogtreecommitdiffstats
path: root/hl/tools/gif2h5/hdf2gif.c
Commit message (Collapse)AuthorAgeFilesLines
* Sync high-level library with develop (#3298)Dana Robinson2023-07-271-1/+1
|
* Brings over most of the HD prefix removal (#3293)Dana Robinson2023-07-271-1/+1
|
* Update copyright headers (#2184)Larry Knox2022-11-011-1/+0
| | | | | * Updated source file copyright headers to remove "Copyright by the Board of Trustees of the University of Illinois", which is kept in the top-level COPYING file.
* Update license url part2 (#333)Larry Knox2021-02-171-1/+1
| | | | | | * Modify temporary rpath for testing in java example scripts. * Update URL in source file Copyright headers for web copy of COPYING file - files not in src or test.
* Clang-format of source filesAllen Byrne2020-09-301-130/+99
|
* Tools refactorAllen Byrne2020-07-151-29/+32
| | | | | | Move error_stack setup to tools library Add structure for h5dump properties Eliminate duplicated h5diff functions Use properties structure in place of argument lists.
* Fix HDFFV-10591Binh-Minh Ribler2020-06-191-11/+22
| | | | | | | | | | | | Description: h52gif produced a segfault when a buffer overflow occurred because the data size was corrupted and became very large. This commit added a check on the data size against the buffer size to prevent the segfault. It also added error reporting to h52gif to display an error message instead of silently exiting when the failure occurred. Platforms tested: Linux/64 (jelly) SunOS 5.11 (emu)
* HDFFV-10974 Change defines to eliminate Windows conflictAllen Byrne2019-12-101-17/+17
|
* Merge pull request #426 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to ↵Larry Knox2017-04-251-6/+4
| | | | | | | | | | hdf5_1_10 * commit '54957d37f5aa73912763dbb6e308555e863c43f4': Commit copyright header change for src/H5PLpkg.c which was added after running script to make changes. Add new files in release_docs to MANIFEST. Cimmit changes to Makefile.in(s) and H5PL.c that resulted from running autogen.sh. Merge pull request #407 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_1 to hdf5_1_10_1 Change copyright headers to replace url referring to file to be removed and replace it with new url for COPYING file.
* [svn-r30020] Description:Quincey Koziol2016-06-061-0/+10
| | | | | | | | | | Bring r29992 from revise_chunks branch to trunk: Turn off error reporting for h5debug and hdf2gif. Tested on: MacOSX/64 10.11.5 (amazon) w/serial, parallel & produciton (h5committest forthcoming)
* [svn-r27799] Minor warning fixes in the high-level library.Dana Robinson2015-09-161-1/+1
| | | | Tested on: jam (too minor for h5committest)
* [svn-r26646] Bug fix: HDFFV-8957 h52gif crashes when run against one of our ↵Albert Cheng2015-03-301-0/+13
| | | | | | | | | | | | | | | | | | own examples. Description: h52gif crashed when it was asked to convert a 24bitimage. Upon viewing the code, it did not prepare to handle images other than 2 dimensions. It has no concept of multiple planes images. Further examinations showed past attempts to fix it ended up removed some abilities (-p or multiple planes, animation, ...) have been removed but documentation was not updated. Even its online help message still shows -p is an option. Solution: added protection code to flag errors if input request is not an 8bit image within size limits. (I don't have enough knowledge of the GIF format to fix this tool. All I did was plugging known bug from crashing the program.) Tested: h5committest.
* [svn-r26575] Removed compiler warning for hl/tools and hl/src.Scot Breitenfeld2015-03-251-4/+4
| | | | | | HDF5-250 and HDF5-241 tested: h5committest
* [svn-r22004] Reduced warnings and fixed conflicts resulting from including ↵Allen Byrne2012-02-281-0/+1
| | | | | | h5tools.h Tested: local linux
* [svn-r21996] Add tools_init to mainAllen Byrne2012-02-271-0/+3
|
* [svn-r18051] Bug fix: 1192Albert Cheng2009-12-251-3/+3
| | | | | | | | Description: Some exit code (sometimes return code in Main) to follow the HDF5 standards. Tested: H5committested plus serial test in Jam.
* [svn-r15628] Description:Quincey Koziol2008-09-161-33/+33
| | | | | | | | | | | | | Remove trailing whitespace from C/C++ source files, with the following script: foreach f (*.[ch] *.cpp) sed 's/[[:blank:]]*$//' $f > sed.out && mv sed.out $f end Tested on: Mac OS X/32 10.5.5 (amazon) No need for h5committest, just whitespace changes...
* [svn-r14237] new feature: add a -V option to h52gif and gif2h5Pedro Vicente Nunes2007-11-051-0/+12
| | | | tested: linux
* [svn-r13656] Pedro Vicente Nunes2007-04-131-9/+0
| | | | | | remove an unnecessary file name size limit tested: linux
* [svn-r13628] Pedro Vicente Nunes2007-04-101-7/+5
| | | | | | test for a NULL pointer in free tested: linux
* [svn-r13626] Pedro Vicente Nunes2007-04-101-116/+24
| | | | | | eliminate code that was meant to have input for multiple images, that is not working tested: linux , solaris
* [svn-r13615] Pedro Vicente Nunes2007-04-091-123/+133
| | | | | | | | | | | bug fixes substituted hize_t array index variables for int stack corruption in the h52gif reading routine, wrote a new routine shell script for gif tests, added check of program return value enabled the gif test script tested: linux pgcc, solaris, linux 64
* [svn-r13560] Pedro Vicente Nunes2007-03-281-13/+16
| | | | | | | | bug fix a malloc call with an incorrect length caused several memory problems that ultimately corrupted a name passed in a list of arguments in the h52gif tool allocated memory was not freed tested linux
* [svn-r13556] Pedro Vicente Nunes2007-03-271-5/+5
| | | | | | Code cleaning regarding formatting and indentation Tested linux
* [svn-r13253] Updated all C and C++ style source code files with the THG ↵Albert Cheng2007-02-071-2/+3
| | | | | | | | | copyright notice. Tested platform: Kagiso only since it is only a comment block change. If it works in one machine, it should work in all, I hope. Still need to check the parallel build on copper.
* [svn-r12314] Purpose:Quincey Koziol2006-04-291-5/+5
| | | | | | | | | | | | | | Code cleanup Description: Big clean up on high-level library code, including: - Removing include of HDF5 private header file(!) - Reduce number of compiler warnings - Untangle header files, etc. Platforms tested: FreeBSD 4.11 (sleipnir) w/C++ Linux 2.4/64 (mir) w/C++ & FORTRAN
* [svn-r11245] Purpose:Quincey Koziol2005-08-131-8/+8
| | | | | | | | | | | | | | | | | | | | Code cleanup Description: Trim trailing whitespace, which is making 'diff'ing the two branches difficult. Solution: Ran this script in each directory: foreach f (*.[ch] *.cpp) sed 's/[[:blank:]]*$//' $f > sed.out && mv sed.out $f end Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r9924] Purpose:Robert E. McGrath2005-02-021-1/+1
| | | | | | | | | | | | | | | Bug fix (#56) Description: h52gif creash for data > 1 byt Solution: check datatype and return with error message if not 1 byte int Platforms tested: shanti,verbena Misc. update:
* [svn-r6540] Purpose:Bill Wendling2003-03-311-4/+13
| | | | | | | | | | | | Update Description: Updated copyright statement Platforms tested: Linux (Only change in comments...checked if compiles) Misc. update:
* [svn-r5305] Pedro Vicente Nunes2002-05-011-3/+5
| | | | | | | | | | | | | | | | | | Purpose: user reported a bug on h5 to gif tool Description: h5 to gif did not read an HDF5 image correctly Solution: updated the program so that it reads the updated HDF5 image format to the latest specification the debug version of MSVC was giving a failure on the write of the GIF file, regarding the GIF file pointer this write error is eliminated declaring that pointer a global variable there is still an applicattion error on the exit of the program, only on the debug version of MSVC Platforms tested: w2000
* [svn-r4978] Purpose:Quincey Koziol2002-02-171-6/+0
| | | | | | | | Code cleanup Description: Cleanup compiler warnings found by the SGI compiler and gcc 3.0 Platforms tested: FreeBSD 4.5 w/gcc 3.0 (hack) && IRIX64 (modi4)
* [svn-r4643] Purpose:Quincey Koziol2001-11-271-3/+5
| | | | | | | | | | | | | | | | | | | | | | Code cleanup Description: Windows is generating hundreds of warnings from some of the practices in the library. Mostly, they are because size_t is 32-bit and hsize_t is 64-bit on Windows and we were carelessly casting the larger values down to the smaller ones without checking for overflow. Also, some other small code cleanups,etc. Solution: Re-worked some algorithms to eliminate the casts and also added more overflow checking for assignments and function parameters which needed casts. Kent did most of the work, I just went over his changes and fit them into the the library code a bit better. Platforms tested: FreeBSD 4.4 (hawkwind)
* [svn-r4591] Purpose:Quincey Koziol2001-11-041-2/+2
| | | | | | | | Code cleanup Description: Fix a bunch of warnings Platforms tested: Linux 2.2 (eirene)
* [svn-r4326] Purpose:Quincey Koziol2001-08-101-7/+16
| | | | | | | | | | Code cleanups, mostly.. Description: Work on pacifying the SGI compiler to get the generic properties working correctly with --enable-parallel and --enable-fortran. It's not quite fixed yet, but I need to head home and these patches help... :-/ Platforms tested: IRIX64 6.5 (modi4)
* [svn-r4254] Bill Wendling2001-07-241-336/+369
| | | | | | | | | | | | | | | Purpose: Reformatting Description: Reformatted the code so that it's much clearer and conforms to the HDF5 coding standards. Changed the function headers to use the ANSI style instead of the KnR style. Kept the use of typedef's such as "unsigned char" being "BYTE" and so on since of of this code is copied from some other place and that's the style they use...I didn't want to break things. Platforms tested: It compiles fine on Linux, but there aren't any tests for this package, so...
* [svn-r4012] Purpose:Quincey Koziol2001-06-181-10/+11
| | | | | | | | Clean up compiler warnings. Description: Just code neatening mostly, some casts, etc. Platforms tested: FreeBSD 4.3 (hawkwind)
* [svn-r3919] Rushabh Doshi2001-05-121-0/+354
Purpose: Adding new feature Description: Added gif2h5 and h52gif conversion utilities Solution: The utilites follow the framework built for the gif2hdf and hdf2gif utilities for hdf4. The main files modified were those that read the H5 file and those that write H5 file. In the future, if you wish to continue with the framework and extend it to .png or some other fileformat the main files to edit will be the gif reader and writer. One point to note with h52gif. You have to specify the exact location of the image and the palette that it links to. You can choose not to specify a palette (uniform grayscale chosen in this case) but you must specify image location. In the future, someone could edit the readhdf.c source to enable the reader to parse the hdf file and select all images with corresponding palettes. Platforms tested: modi4 , eirene , hawkwind , arabica , Ren (NT 4.0) , Personal box (win2k)