Giter VIP home page Giter VIP logo

Comments (8)

exilon avatar exilon commented on May 20, 2024

It's strange. This function is working for many years in production systems without any issues.
I'll test it. Thanks for your suggestion.

from quicklib.

exilon avatar exilon commented on May 20, 2024

Have you tried the filename-based version instead? Have you obtained the same size issue?

from quicklib.

exilon avatar exilon commented on May 20, 2024

I've tested current code with RAD Studio 10.3.3 uploading jpg images without problems. Which delphi version are you using?

from quicklib.

CPsoftBE avatar CPsoftBE commented on May 20, 2024

from quicklib.

CPsoftBE avatar CPsoftBE commented on May 20, 2024

I'll try the filename-based version asap

from quicklib.

exilon avatar exilon commented on May 20, 2024

Try stream version with other file types different to xls, like jpg, please.

from quicklib.

CPsoftBE avatar CPsoftBE commented on May 20, 2024

Tested with filename-based version: not ok (corrupted xls).

Test results:

  1. Upload using filename-based version:

Pdf: Size on Azure is 112 KiB
Pdf file can be opened without warning

Xls: Size on Azure is 280 KiB
Xls file corrupted, need to be repaired warning

  1. Upload using modified code stream-based version:

Pdf: Size on Azure is 108.3 KiB
Pdf file can be opened without warning

Xls: Size on Azure is 273.96 KiB
Xls file can be opened without warning

from quicklib.

exilon avatar exilon commented on May 20, 2024

Fixed in next version. Thanks for your report and solution.

from quicklib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.