# Convert VTK to binary large object (BLOB)

**URL:** https://discourse.vtk.org/t/convert-vtk-to-binary-large-object-blob/3597
**Category:** Support
**Tags:** file-formats
**Created:** [June 19, 2020, 6:12pm UTC](https://discourse.vtk.org/t/convert-vtk-to-binary-large-object-blob/3597 "2020-06-19T18:12:57Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![rishyak](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/r/b4bc9f/32.png) [@rishyak](https://discourse.vtk.org/u/rishyak)
#### Post date: [June 19, 2020, 6:12pm UTC](https://discourse.vtk.org/t/convert-vtk-to-binary-large-object-blob/3597/1 "2020-06-19T18:12:57Z")

</div>

Hi everyone,  
I’m using PyVista to make .vtk and .vtk files of my NumPy array.

I need to store these on an SQLAlchemy database to work with a web app. Unfortunately, the server can only store in binary large object (BLOB).

Is there any way I can convert my file to BLOB?

Thank you.

---

<div class="post-metadata">

### Author: ![Sebastien\_Jourdain](https://discourse.vtk.org/user_avatar/discourse.vtk.org/sebastien_jourdain/32/100_2.png) [@Sebastien\_Jourdain](https://discourse.vtk.org/u/Sebastien_Jourdain)
#### Post date: [June 19, 2020, 7:44pm UTC](https://discourse.vtk.org/t/convert-vtk-to-binary-large-object-blob/3597/2 "2020-06-19T19:44:47Z")

</div>

Is a file a BLOB by definition regardless of its content?

---

<div class="post-metadata">

### Author: ![rishyak](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/r/b4bc9f/32.png) [@rishyak](https://discourse.vtk.org/u/rishyak)
#### Post date: [June 29, 2020, 3:29pm UTC](https://discourse.vtk.org/t/convert-vtk-to-binary-large-object-blob/3597/3 "2020-06-29T15:29:16Z")

</div>

Really sorry about the late reply. Yes, it’s a BLOB regardless of its contents
