+ Post New Thread
Results 1 to 10 of 10
  1. #1
    Full Member level 3
    Points: 2,177, Level: 10
    Achievements:
    Created Album pictures 7 years registered
    pradeep_k_b's Avatar
    Join Date
    Dec 2011
    Location
    Nilambur, India
    Posts
    160
    Helped
    0 / 0
    Points
    2,177
    Level
    10

    is it possible to ZIP a file using STM32F4 ? Any library available?

    HI All,

    If anyone tried to compress a file (.zip format) using STM32F4 ?.Any libraries available for that ? I could find libraries for GZIP ,but couldnt fine any for ZIP.

    If anyone have any idea about this could you please help me?

    Thank you,
    Pradeep
    ".......One man's magic is another man's engineering. Supernatural is a null word......"

  2. #2
    Super Moderator
    Points: 261,889, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    45,771
    Helped
    13912 / 13912
    Points
    261,889
    Level
    100

    Re: is it possible to ZIP a file using STM32F4 ? Any library available?

    Check gzip



    •   AltAdvertisement

        
       

  3. #3
    Full Member level 3
    Points: 2,177, Level: 10
    Achievements:
    Created Album pictures 7 years registered
    pradeep_k_b's Avatar
    Join Date
    Dec 2011
    Location
    Nilambur, India
    Posts
    160
    Helped
    0 / 0
    Points
    2,177
    Level
    10

    Re: is it possible to ZIP a file using STM32F4 ? Any library available?

    gzip wont work for me.I need to get it as .zip format .Because I am sending this to another server,the server can handle the file with .zip extension.I don't have any access to the server as this one is managed by some other people
    ".......One man's magic is another man's engineering. Supernatural is a null word......"



  4. #4
    Super Moderator
    Points: 261,889, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    45,771
    Helped
    13912 / 13912
    Points
    261,889
    Level
    100

    Re: is it possible to ZIP a file using STM32F4 ? Any library available?

    O.K. zlib with minizip addition.



    •   AltAdvertisement

        
       

  5. #5
    Full Member level 3
    Points: 2,177, Level: 10
    Achievements:
    Created Album pictures 7 years registered
    pradeep_k_b's Avatar
    Join Date
    Dec 2011
    Location
    Nilambur, India
    Posts
    160
    Helped
    0 / 0
    Points
    2,177
    Level
    10

    Re: is it possible to ZIP a file using STM32F4 ? Any library available?

    Quote Originally Posted by FvM View Post
    O.K. zlib with minizip addition.
    But still it wont be a .zip file,right?
    ".......One man's magic is another man's engineering. Supernatural is a null word......"



  6. #6
    Super Moderator
    Points: 261,889, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    45,771
    Helped
    13912 / 13912
    Points
    261,889
    Level
    100

    Re: is it possible to ZIP a file using STM32F4 ? Any library available?

    You didn't review the features of the package, right?



  7. #7
    Full Member level 3
    Points: 2,177, Level: 10
    Achievements:
    Created Album pictures 7 years registered
    pradeep_k_b's Avatar
    Join Date
    Dec 2011
    Location
    Nilambur, India
    Posts
    160
    Helped
    0 / 0
    Points
    2,177
    Level
    10

    Re: is it possible to ZIP a file using STM32F4 ? Any library available?

    Quote Originally Posted by FvM View Post
    You didn't review the features of the package, right?
    Yes,I tried different packages/libraries.And always I am getting gzip file.But .gzip file wont work for me :)
    ".......One man's magic is another man's engineering. Supernatural is a null word......"



  8. #8
    Super Moderator
    Points: 261,889, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    45,771
    Helped
    13912 / 13912
    Points
    261,889
    Level
    100

    Re: is it possible to ZIP a file using STM32F4 ? Any library available?

    I was talking about minizip package as zlib addon. It's said to generate *.zip files, but I didn't check myself.



  9. #9
    Full Member level 3
    Points: 2,177, Level: 10
    Achievements:
    Created Album pictures 7 years registered
    pradeep_k_b's Avatar
    Join Date
    Dec 2011
    Location
    Nilambur, India
    Posts
    160
    Helped
    0 / 0
    Points
    2,177
    Level
    10

    Re: is it possible to ZIP a file using STM32F4 ? Any library available?

    Quote Originally Posted by FvM View Post
    I was talking about minizip package as zlib addon. It's said to generate *.zip files, but I didn't check myself.
    I didn't try that.Let me try it and will update you
    ".......One man's magic is another man's engineering. Supernatural is a null word......"



    •   AltAdvertisement

        
       

  10. #10
    Full Member level 3
    Points: 2,177, Level: 10
    Achievements:
    Created Album pictures 7 years registered
    pradeep_k_b's Avatar
    Join Date
    Dec 2011
    Location
    Nilambur, India
    Posts
    160
    Helped
    0 / 0
    Points
    2,177
    Level
    10

    Re: is it possible to ZIP a file using STM32F4 ? Any library available?

    Quote Originally Posted by FvM View Post
    I was talking about minizip package as zlib addon. It's said to generate *.zip files, but I didn't check myself.
    HI,I tried this but its not working.Even its not a creating a file with .zip file extension

    - - - Updated - - -

    I could find a webpage and in that someone said he generated ZIP file using miniz library in PIC32

    http://demin.ws/blog/english/2012/09/18/miniz-minilzo/
    ".......One man's magic is another man's engineering. Supernatural is a null word......"



--[[ ]]--